summaryrefslogtreecommitdiff
path: root/utils/genapply
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-06-23 14:44:26 +0000
committerIan Lynagh <igloo@earth.li>2008-06-23 14:44:26 +0000
commit9a657491d1caf6e29c85ce71e95a36eea3e036b1 (patch)
tree52efd41f503e023f2bb7a25fdcad33366d3e0941 /utils/genapply
parentf2e53b6f1045941243d2d5e76e9b01b6e769ddd9 (diff)
downloadhaskell-9a657491d1caf6e29c85ce71e95a36eea3e036b1.tar.gz
Fix the build with GHC 6.4
Diffstat (limited to 'utils/genapply')
-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