projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the build with GHC 6.4
[ghc-hetmet.git]
/
utils
/
hsc2hs
/
Makefile
diff --git
a/utils/hsc2hs/Makefile
b/utils/hsc2hs/Makefile
index
c30269d
..
7763183
100644
(file)
--- 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