X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=libraries%2FMakefile.local;h=7ca6115db671df0eb2ca1840bba92de04d149717;hp=000be9fd567fc664d2249b8cb2758613e31c84d5;hb=9412e62942ebab0599c7fb0b358a9d4869647b67;hpb=3496f21264b58466e1d89e4387399d0b260cec78 diff --git a/libraries/Makefile.local b/libraries/Makefile.local index 000be9f..7ca6115 100644 --- a/libraries/Makefile.local +++ b/libraries/Makefile.local @@ -23,7 +23,7 @@ GhcLibHcOpts += -Wall # now at least we just disable them completely. GhcLibHcOpts += -fno-warn-deprecated-flags -ifeq "$(filter-out array-% base-% directory-% editline-% filepath-% ghc-prim-% hpc-% integer-gmp-% old-locale-% old-time-% packedstring-% pretty-% process-% random-% unix-% Win32-%,$(package))" "" +ifeq "$(filter-out base-% unix-% Win32-%,$(package))" "" # XXX We are one of the above list, i.e. we are a package that is not # yet warning-clean. Thus turn warnings off for now so that validate # goes through. @@ -31,8 +31,5 @@ GhcLibHcOpts += -w endif # Now add flags from the GHC build system to the Cabal build: -GHC_CC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) GHC_OPTS += $(SRC_HC_OPTS) GHC_OPTS += $(GhcLibHcOpts) -GHC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) -LIB_LD_OPTS += $(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS))