summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAdam Sandberg Ericsson <adam@sandbergericsson.se>2020-12-20 12:57:49 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-12-22 01:26:44 -0500
commitf27a71449aeb86ad9afa02431b3bd1a62ff5400a (patch)
treef63215dbc30ec5dc260e45c1c95a1e900344843b /utils
parent3ef94d2704ed23b5bd6af612b0469f754505afe6 (diff)
downloadhaskell-f27a71449aeb86ad9afa02431b3bd1a62ff5400a.tar.gz
make: disable ghc package environments #18988
Diffstat (limited to 'utils')
-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 \