Don't compile Cabal with -cpp -fffi
authorIan Lynagh <igloo@earth.li>
Sun, 15 Jun 2008 01:08:26 +0000 (01:08 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 15 Jun 2008 01:08:26 +0000 (01:08 +0000)
Instead rely on the sources having suitable pragmas

libraries/Makefile

index 888beec..0ca6cdd 100644 (file)
@@ -168,8 +168,7 @@ boot: $(BOOTSTRAP_STAMPS) ifBuildable/ifBuildable \
 
 # We ought to be depending on %/Setup.*hs, but make makes that difficult.
 
-# -fffi is only needed for GHC 6.4 at the time of writing
-CABAL_GHC_FLAGS = -Wall -cpp -fffi
+CABAL_GHC_FLAGS = -Wall
 
 $(foreach SUBDIR,$(SUBDIRS),$(SUBDIR)/setup/Setup): \
 %/setup/Setup: $(BOOTSTRAP_STAMPS)