summaryrefslogtreecommitdiff
path: root/libraries/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Makefile')
-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)