[commit: ghc] ghc-8.2: configure: Ensure that user's LD setting is respected (b0d0291)
git at git.haskell.org
git at git.haskell.org
Wed Aug 2 21:40:39 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.2
Link : http://ghc.haskell.org/trac/ghc/changeset/b0d0291085a81e0c192e3e95e66ff078c28e1956/ghc
>---------------------------------------------------------------
commit b0d0291085a81e0c192e3e95e66ff078c28e1956
Author: Ben Gamari <ben at smart-cactus.org>
Date: Fri Jul 28 13:35:01 2017 -0400
configure: Ensure that user's LD setting is respected
This broke in the fix for #13541.
(cherry picked from commit d08b9ccdf2812e8f8fa34d0c89275deee574524c)
>---------------------------------------------------------------
b0d0291085a81e0c192e3e95e66ff078c28e1956
aclocal.m4 | 1 +
1 file changed, 1 insertion(+)
diff --git a/aclocal.m4 b/aclocal.m4
index 3e5c5dc..c48b42c 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2339,6 +2339,7 @@ AC_DEFUN([FIND_LD],[
[enable_ld_override=yes])
if test "x$enable_ld_override" = "xyes"; then
+ TmpLd="$LD" # In case the user set LD
AC_CHECK_TARGET_TOOLS([TmpLd], [ld.lld ld.gold ld])
out=`$TmpLd --version`
More information about the ghc-commits
mailing list