[Git][ghc/ghc][wip/T25501] configure: Implement ld override whitelist
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Tue Dec 10 12:56:21 UTC 2024
Ben Gamari pushed to branch wip/T25501 at Glasgow Haskell Compiler / GHC
Commits:
2e532510 by Ben Gamari at 2024-12-10T07:56:15-05:00
configure: Implement ld override whitelist
Bring `configure` into alignment with `ghc-toolchain`, ensuring that the
ld-override logic will only take effect on Linux and Windows.
Fixes #25501.
- - - - -
1 changed file:
- m4/find_ld.m4
Changes:
=====================================
m4/find_ld.m4
=====================================
@@ -79,13 +79,16 @@ AC_DEFUN([FIND_LD],[
dnl See #21712.
AC_CHECK_TARGET_TOOL([LD], [ld])
;;
- *)
+ *-linux*|*-mingw32)
if test "x$enable_ld_override" = "xyes"; then
find_ld
else
AC_CHECK_TARGET_TOOL([LD], [ld])
fi
;;
+ *)
+ AC_CHECK_TARGET_TOOL([LD], [ld])
+ ;;
esac
CHECK_LD_COPY_BUG([$1])
])
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2e53251002eaf0d3a5bc873f9cb34b603043205c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2e53251002eaf0d3a5bc873f9cb34b603043205c
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/20241210/35fc2332/attachment.html>
More information about the ghc-commits
mailing list