[Git][ghc/ghc][wip/T24050] distrib/configure: Fix typo in CONF_GCC_LINKER_OPTS_STAGE2 variable
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Tue Feb 6 16:31:05 UTC 2024
Matthew Pickering pushed to branch wip/T24050 at Glasgow Haskell Compiler / GHC
Commits:
4603acaa by Matthew Pickering at 2024-02-06T16:28:32+00:00
distrib/configure: Fix typo in CONF_GCC_LINKER_OPTS_STAGE2 variable
Instead we were setting CONF_GCC_LINK_OPTS_STAGE2 which meant that we
were missing passing `--target` when invoking the linker.
- - - - -
1 changed file:
- distrib/configure.ac.in
Changes:
=====================================
distrib/configure.ac.in
=====================================
@@ -244,8 +244,8 @@ AC_SUBST(TargetHasGnuNonexecStack)
dnl ** See whether cc supports --target=<triple> and set
dnl CONF_CC_OPTS_STAGE[12] accordingly.
-FP_CC_SUPPORTS_TARGET([$CC], [CONF_CC_OPTS_STAGE1], [CONF_CXX_OPTS_STAGE1], [CONF_GCC_LINK_OPTS_STAGE1])
-FP_CC_SUPPORTS_TARGET([$CC], [CONF_CC_OPTS_STAGE2], [CONF_CXX_OPTS_STAGE2], [CONF_GCC_LINK_OPTS_STAGE2])
+FP_CC_SUPPORTS_TARGET([$CC], [CONF_CC_OPTS_STAGE1], [CONF_CXX_OPTS_STAGE1], [CONF_GCC_LINKER_OPTS_STAGE1])
+FP_CC_SUPPORTS_TARGET([$CC], [CONF_CC_OPTS_STAGE2], [CONF_CXX_OPTS_STAGE2], [CONF_GCC_LINKER_OPTS_STAGE2])
dnl Pass -Qunused-arguments or otherwise GHC will have very noisy invocations of Clang
FP_CC_IGNORE_UNUSED_ARGS([$CC], [CONF_CC_OPTS_STAGE1])
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4603acaa70f9d4d065a64fb0a7c4fcd8b444a00c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4603acaa70f9d4d065a64fb0a7c4fcd8b444a00c
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240206/2b37e44a/attachment.html>
More information about the ghc-commits
mailing list