summaryrefslogtreecommitdiff
path: root/rules/package-config.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-02 22:47:26 +0000
committerIan Lynagh <igloo@earth.li>2010-09-02 22:47:26 +0000
commit814946f35c725c22f67979642828dbefcaeaf8c3 (patch)
tree5c069485ef25eb70f50084588f19788609cc1a53 /rules/package-config.mk
parentf571f630505bc13b4d7e997f317078462dba8afa (diff)
downloadhaskell-814946f35c725c22f67979642828dbefcaeaf8c3.tar.gz
Add some -no-user-package-conf flags
Stops user-installed packages breaking the build
Diffstat (limited to 'rules/package-config.mk')
-rw-r--r--rules/package-config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/package-config.mk b/rules/package-config.mk
index c30f11724e..b68f2e1de5 100644
--- a/rules/package-config.mk
+++ b/rules/package-config.mk
@@ -32,6 +32,7 @@ $1_$2_HC_DEP =
$1_$2_HC_PKGCONF = -package-conf $$(BOOTSTRAPPING_CONF)
$1_$2_GHC_PKG_OPTS = --package-conf=$$(BOOTSTRAPPING_CONF)
$1_$2_CONFIGURE_OPTS += --package-db=$$(TOP)/$$(BOOTSTRAPPING_CONF)
+$1_$2_HC_OPTS += -no-user-package-conf
ifeq "$(ghc_ge_613)" "YES"
$1_$2_HC_OPTS += -rtsopts
endif