X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=utils%2Fghc-pkg%2FMakefile;fp=utils%2Fghc-pkg%2FMakefile;h=0238334bfe44c03283144c13c415991147d232a2;hp=698cdc11de4f863ad291ad8a47134736b0f0c334;hb=a5c802d4a27be911b6cbc23104bcff753867b55a;hpb=67760c45fc0b18bdd21d31b0462f4ad7ee4d2c4c diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile index 698cdc1..0238334 100644 --- a/utils/ghc-pkg/Makefile +++ b/utils/ghc-pkg/Makefile @@ -16,6 +16,10 @@ SRC_HC_OPTS += $(PACKAGE_CABAL) # we must also build with $(GhcHcOpts) here: SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts) +ifeq "$(ghc_ge_607)" "YES" +SRC_HC_OPTS += -package containers +endif + # On Windows, ghc-pkg is a standalone program # ($bindir/ghc-pkg.exe), whereas on Unix it needs a wrapper script # to pass the appropriate flag to the real binary