summaryrefslogtreecommitdiff
path: root/rules/package-config.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-23 13:40:52 +0100
committerIan Lynagh <igloo@earth.li>2011-04-23 13:40:52 +0100
commitf845e5f8339ead4b7189d5d1af6d882593af5dcc (patch)
treefb4b11ec5d464fbc1711855bdb7eca617edacde9 /rules/package-config.mk
parent83e504bb061ff9dca79d72c92ed25a8d245d4cd9 (diff)
downloadhaskell-f845e5f8339ead4b7189d5d1af6d882593af5dcc.tar.gz
Make stage-specific CC variables
This allows different gcc's to be used when building different stages, which we need to do when cross-compiling.
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 2091779d1e..65df6bf235 100644
--- a/rules/package-config.mk
+++ b/rules/package-config.mk
@@ -16,6 +16,7 @@ $(call trace, package-config($1,$2,$3))
$(call profStart, package-config($1,$2,$3))
$1_$2_HC = $$(GHC_STAGE$3)
+$1_$2_CC = $$(CC_STAGE$3)
# configuration stuff that depends on which GHC we're building with
ifeq "$3" "0"