From 9a657491d1caf6e29c85ce71e95a36eea3e036b1 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 23 Jun 2008 14:44:26 +0000 Subject: Fix the build with GHC 6.4 --- libraries/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libraries') 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) -- cgit v1.2.1