[Git][ghc/ghc][wip/ghc-9.4.5-backports] Check for FP_LD_NO_FIXUP_CHAINS in installation configure script
Zubin (@wz1000)
gitlab at gitlab.haskell.org
Fri Apr 14 10:07:24 UTC 2023
Zubin pushed to branch wip/ghc-9.4.5-backports at Glasgow Haskell Compiler / GHC
Commits:
08a41807 by Matthew Pickering at 2023-04-14T15:37:06+05:30
Check for FP_LD_NO_FIXUP_CHAINS in installation configure script
Otherwise, when installing from a bindist the C flag isn't passed to the
C compiler.
This completes the fix for #22429
(cherry picked from commit 926cd4ee097106cf9c6d1ae1fc32375e7fc45ff2)
- - - - -
1 changed file:
- distrib/configure.ac.in
Changes:
=====================================
distrib/configure.ac.in
=====================================
@@ -167,6 +167,11 @@ FPTOOLS_SET_C_LD_FLAGS([target],[CONF_CC_OPTS_STAGE1],[CONF_GCC_LINKER_OPTS_STAG
# Stage 3 won't be supported by cross-compilation
FPTOOLS_SET_C_LD_FLAGS([target],[CONF_CC_OPTS_STAGE2],[CONF_GCC_LINKER_OPTS_STAGE2],[CONF_LD_LINKER_OPTS_STAGE2],[CONF_CPP_OPTS_STAGE2])
+FP_LD_NO_FIXUP_CHAINS([target], [LDFLAGS])
+FP_LD_NO_FIXUP_CHAINS([build], [CONF_GCC_LINKER_OPTS_STAGE0])
+FP_LD_NO_FIXUP_CHAINS([target], [CONF_GCC_LINKER_OPTS_STAGE1])
+FP_LD_NO_FIXUP_CHAINS([target], [CONF_GCC_LINKER_OPTS_STAGE2])
+
AC_SUBST(CONF_CC_OPTS_STAGE0)
AC_SUBST(CONF_CC_OPTS_STAGE1)
AC_SUBST(CONF_CC_OPTS_STAGE2)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/08a41807a17e5060f24a2a1e4dcd56aec9800fea
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/08a41807a17e5060f24a2a1e4dcd56aec9800fea
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/20230414/c91c175a/attachment.html>
More information about the ghc-commits
mailing list