From 8a0d21aa88cbcab975de0c047eb725226a5a7cc0 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 15 Jun 2008 01:08:26 +0000 Subject: [PATCH] Don't compile Cabal with -cpp -fffi Instead rely on the sources having suitable pragmas --- libraries/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/Makefile b/libraries/Makefile index 888beec..0ca6cdd 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -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) -- 1.7.10.4