summaryrefslogtreecommitdiff
path: root/libraries
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 /libraries
parentf2e53b6f1045941243d2d5e76e9b01b6e769ddd9 (diff)
downloadhaskell-9a657491d1caf6e29c85ce71e95a36eea3e036b1.tar.gz
Fix the build with GHC 6.4
Diffstat (limited to 'libraries')
-rw-r--r--libraries/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index ac92a526de..0b50b7ffbd 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -173,6 +173,9 @@ boot: $(BOOTSTRAP_STAMPS) ifBuildable/ifBuildable \
# We ought to be depending on %/Setup.*hs, but make makes that difficult.
CABAL_GHC_FLAGS = -Wall
+ifeq "$(ghc_ge_605)" "NO"
+CABAL_GHC_FLAGS += -cpp
+endif
$(foreach SUBDIR,$(SUBDIRS),$(SUBDIR)/setup/Setup): \
%/setup/Setup: $(BOOTSTRAP_STAMPS)