summaryrefslogtreecommitdiff
path: root/utils/genapply/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/genapply/Makefile')
-rw-r--r--utils/genapply/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile
index ba13de2374..64489db1ac 100644
--- a/utils/genapply/Makefile
+++ b/utils/genapply/Makefile
@@ -17,7 +17,12 @@ SRC_HC_OPTS += -package pretty
endif
# Try to get dependencies right...
+ifeq "$(ghc_ge_605)" "YES"
SRC_HC_OPTS += -fforce-recomp
+else
+SRC_HC_OPTS += -no-recomp
+endif
+
GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h
GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h
GenApply.o : $(GHC_INCLUDE_DIR)/Constants.h