From b8c25820084a46b1239ad7d87bee6391dd5c1017 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 23 Apr 2011 20:40:43 +0100 Subject: 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). --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3eccc088b0..b126d1e0bf 100644 --- a/configure.ac +++ b/configure.ac @@ -132,6 +132,8 @@ if test "$WithGhc" != ""; then GhcCanonVersion="$GhcMajVersion$GhcMinVersion2" if test $GhcCanonVersion -ge 613; then ghc_ge_613=YES; else ghc_ge_613=NO; fi AC_SUBST(ghc_ge_613)dnl + + BOOTSTRAPPING_GHC_INFO_FIELD([CC_STAGE0],[GCC command],['$(CC)']) fi dnl ** Must have GHC to build GHC, unless --enable-hc-boot is on -- cgit v1.2.1