summaryrefslogtreecommitdiff
path: root/rules/package-config.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-16 00:31:04 +0000
committerIan Lynagh <igloo@earth.li>2011-01-16 00:31:04 +0000
commitcc2e327cf8966a9e5d8d3f3d7ce1d0867f1627ec (patch)
treeca09a87470f4635058bbbf5ea0bd28875fcfea23 /rules/package-config.mk
parentca423b0578acf6b6d39c83ce34400cd35a3a1b10 (diff)
downloadhaskell-cc2e327cf8966a9e5d8d3f3d7ce1d0867f1627ec.tar.gz
Change some HC_OPTS var handling
In particular, this means ghc gets built with -rtsopt, -threaded, etc again.
Diffstat (limited to 'rules/package-config.mk')
-rw-r--r--rules/package-config.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/package-config.mk b/rules/package-config.mk
index 871fde6775..f111e1efac 100644
--- a/rules/package-config.mk
+++ b/rules/package-config.mk
@@ -31,9 +31,9 @@ $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
+$1_$2_MORE_HC_OPTS += -no-user-package-conf
ifeq "$(ghc_ge_613)" "YES"
-$1_$2_HC_OPTS += -rtsopts
+$1_$2_MORE_HC_OPTS += -rtsopts
endif
else
$1_$2_ghc_ge_613 = YES
@@ -48,8 +48,8 @@ $1_$2_GHC_PKG_OPTS =
$1_$2_HC_MK_DEPEND = $$(GHC_STAGE1)
$1_$2_HC_MK_DEPEND_DEP = $$($1_$2_HC_MK_DEPEND)
$1_$2_HC_DEP = $$($1_$2_HC)
-$1_$2_HC_OPTS += -no-user-package-conf
-$1_$2_HC_OPTS += -rtsopts
+$1_$2_MORE_HC_OPTS += -no-user-package-conf
+$1_$2_MORE_HC_OPTS += -rtsopts
endif
# Useful later