summaryrefslogtreecommitdiff
path: root/rules
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 /rules
parent3ef94d2704ed23b5bd6af612b0469f754505afe6 (diff)
downloadhaskell-f27a71449aeb86ad9afa02431b3bd1a62ff5400a.tar.gz
make: disable ghc package environments #18988
Diffstat (limited to 'rules')
-rw-r--r--rules/distdir-way-opts.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/distdir-way-opts.mk b/rules/distdir-way-opts.mk
index d604fcf621..a0dba3a1fe 100644
--- a/rules/distdir-way-opts.mk
+++ b/rules/distdir-way-opts.mk
@@ -120,6 +120,7 @@ $1_$2_$3_MOST_HC_OPTS = \
$$(if $$($1_$2_PROG),, \
$$(if $$($1_PACKAGE),$$($4_THIS_UNIT_ID) $$($1_$2_COMPONENT_ID))) \
$$(if $$($1_PACKAGE),-hide-all-packages) \
+ -package-env - \
-i $$(if $$($1_$2_HS_SRC_DIRS),$$(foreach dir,$$($1_$2_HS_SRC_DIRS),-i$1/$$(dir)),-i$1) \
-i$1/$2/build \
-I$1/$2/build \