summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ghc-cabal/ghc.mk')
-rw-r--r--utils/ghc-cabal/ghc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk
index 145fc8fca5..e9647a2af1 100644
--- a/utils/ghc-cabal/ghc.mk
+++ b/utils/ghc-cabal/ghc.mk
@@ -61,6 +61,7 @@ $(ghc-cabal_DIST_BINARY): $(CABAL_LEXER_DEP) utils/ghc-cabal/Main.hs $(TOUCH_DEP
$(addprefix -optl, $(SRC_LD_OPTS) $(CONF_GCC_LINKER_OPTS_STAGE0)) \
-O0 \
-hide-all-packages \
+ -package-env - \
$(addprefix -package , $(CABAL_BUILD_DEPS)) \
--make utils/ghc-cabal/Main.hs -o $@ \
-no-user-package-db \