[Git][ghc/ghc][master] configure: Do not override existing linker flags in FP_LD_NO_FIXUP_CHAINS
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Wed Feb 21 10:00:39 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
9460d504 by Rodrigo Mesquita at 2024-02-21T04:59:59-05:00
configure: Do not override existing linker flags in FP_LD_NO_FIXUP_CHAINS
- - - - -
1 changed file:
- m4/fp_ld_no_fixup_chains.m4
Changes:
=====================================
m4/fp_ld_no_fixup_chains.m4
=====================================
@@ -12,7 +12,7 @@ AC_DEFUN([FP_LD_NO_FIXUP_CHAINS], [
echo 'int main(void) {return 0;}' > conftest.c
if $CC -o conftest.o -Wl,-no_fixup_chains conftest.c > /dev/null 2>&1
then
- $2="-Wl,-no_fixup_chains"
+ $2="$$2 -Wl,-no_fixup_chains"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9460d5044b8c7239fb7a6ce875d084617f159c7f
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9460d5044b8c7239fb7a6ce875d084617f159c7f
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/20240221/cae45a52/attachment.html>
More information about the ghc-commits
mailing list