Fix the build with GHC 6.4
[ghc-hetmet.git] / utils / genapply / Makefile
index ba13de2..64489db 100644 (file)
@@ -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