summaryrefslogtreecommitdiff
path: root/mk/config.mk.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-23 20:40:43 +0100
committerIan Lynagh <igloo@earth.li>2011-04-23 20:40:43 +0100
commitb8c25820084a46b1239ad7d87bee6391dd5c1017 (patch)
treebf541bac4775ebf92675aa0ee89efcbf0421bbdc /mk/config.mk.in
parent70b4e94b9423904e817c88e5b55732f7f3df9fbc (diff)
downloadhaskell-b8c25820084a46b1239ad7d87bee6391dd5c1017.tar.gz
Get CC_STAGE0 from the bootstrapping compiler
Rather than using the compiler that configure detects, we use the "GCC command" field from the --info output of the bootstrapping compiler (provided it is >= 7.1).
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 01019b825f..f96302b4fe 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -544,7 +544,7 @@ WhatGccIsCalled = @WhatGccIsCalled@
GccVersion = @GccVersion@
GccLT34 = @GccLT34@
CC = $(WhatGccIsCalled)
-CC_STAGE0 = $(CC)
+CC_STAGE0 = @CC_STAGE0@
CC_STAGE1 = $(CC)
CC_STAGE2 = $(CC)
CC_STAGE3 = $(CC)