From 7c3e39a9a7ccb3b6c2953b0397a0d315dc0ec7d5 Mon Sep 17 00:00:00 2001 From: Judah Jacobson Date: Mon, 9 Mar 2020 08:30:01 -0700 Subject: Use AC_ARG_VAR for LD_STAGE0 and AR_STAGE0. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.1