diff options
Diffstat (limited to 'utils/hsc2hs/Makefile')
-rw-r--r-- | utils/hsc2hs/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/hsc2hs/Makefile b/utils/hsc2hs/Makefile index c30269dd20..7763183c8b 100644 --- a/utils/hsc2hs/Makefile +++ b/utils/hsc2hs/Makefile @@ -14,6 +14,10 @@ SRC_HC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) SRC_LD_OPTS += $(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS)) endif +ifeq "$(ghc_ge_605)" "NO" +SRC_HC_OPTS += -cpp +endif + # This causes libghccompat.a to be used: include $(GHC_COMPAT_DIR)/compat.mk |