summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJudah Jacobson <judah@users.noreply.github.com>2020-03-09 08:30:01 -0700
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-14 05:28:07 -0400
commit7c3e39a9a7ccb3b6c2953b0397a0d315dc0ec7d5 (patch)
tree62ef08d9903383239655a4b487765ae3adca60fe /configure.ac
parent8f7dd5710b80906ea7a3e15b7bb56a883a49fed8 (diff)
downloadhaskell-7c3e39a9a7ccb3b6c2953b0397a0d315dc0ec7d5.tar.gz
Use AC_ARG_VAR for LD_STAGE0 and AR_STAGE0.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 39daeb5e40..0d047ed5d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,9 +117,12 @@ if test "$EnableDistroToolchain" = "YES"; then
TarballsAutodownload=NO
fi
-dnl CC_STAGE0 is like the "previous" variable CC (inherited by CC_STAGE[123])
+dnl CC_STAGE0, LD_STAGE0, AR_STAGE0 are like the "previous" variable
+dnl CC, LD, AR (inherited by CC_STAGE[123], etc.)
dnl but instead used by stage0 for bootstrapping stage1
AC_ARG_VAR(CC_STAGE0, [C compiler command (bootstrap)])
+AC_ARG_VAR(LD_STAGE0, [Linker command (bootstrap)])
+AC_ARG_VAR(AR_STAGE0, [Archive command (bootstrap)])
if test "$WithGhc" != ""; then
FPTOOLS_GHC_VERSION([GhcVersion], [GhcMajVersion], [GhcMinVersion], [GhcPatchLevel])dnl