X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=utils%2Fghc-pkg%2Fghc.mk;h=23953e0a56344e25b7a9c380f492512560396f24;hb=8a2b4cfc761466e51bd77e7f40d70df5c2747578;hp=ae1537646814880e20a56d75dcfeb437b80b858b;hpb=930421d4ed09e5389e0ef4c5eef36075a6809cc0;p=ghc-hetmet.git diff --git a/utils/ghc-pkg/ghc.mk b/utils/ghc-pkg/ghc.mk index ae15376..23953e0 100644 --- a/utils/ghc-pkg/ghc.mk +++ b/utils/ghc-pkg/ghc.mk @@ -46,11 +46,12 @@ endif endif # depend on ghc-cabal, otherwise we build Cabal twice when building in parallel +# The binary package is not warning-clean, so we need a few -fno-warns here. utils/ghc-pkg/dist/build/$(utils/ghc-pkg_dist_PROG)$(exeext): utils/ghc-pkg/Main.hs utils/ghc-pkg/Version.hs $(GHC_CABAL_INPLACE) $(MKDIRHIER) "$(MKDIRHIER)" bootstrapping "$(MKDIRHIER)" utils/ghc-pkg/dist/build "$(GHC)" $(SRC_HC_OPTS) --make utils/ghc-pkg/Main.hs -o $@ \ - -Wall \ + -Wall -fno-warn-unused-imports \ -DCABAL_VERSION=$(CABAL_VERSION) \ -odir bootstrapping \ -hidir bootstrapping \