X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=libraries%2FMakefile;h=ac92a526de71fa9c8efa72105935afffd7dda0d4;hb=a370654a872838c43e63bdd6cc279c0ee9913cdf;hp=888beec40327efea950b8a26a5fc4096e4c2f14c;hpb=1b5161f0e4a95725544880a282963a8859cd22ee;p=ghc-hetmet.git diff --git a/libraries/Makefile b/libraries/Makefile index 888beec..ac92a52 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -90,6 +90,10 @@ space=$(empty) $(empty) # ----------------------------------------------------------------------------- +ifeq "$(ghc_ge_609)" "YES" +GhcLibHcOpts += -fno-warn-deprecated-flags +endif + ifeq "$(RelocatableBuild)" "YES" # On Windows we want to make moveable bindists, but we need to tell # ghc-pkg where the haddock docs are. Therefore we completely ignore @@ -168,8 +172,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)