diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-07-28 13:35:01 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-07-28 13:39:10 -0400 |
commit | b0d0291085a81e0c192e3e95e66ff078c28e1956 (patch) | |
tree | 35350682f6d95076845a0f4ff705eb81fcec3fe9 | |
parent | 2fbdd42c27a589d33a3583d13162641dada9ed2c (diff) | |
download | haskell-b0d0291085a81e0c192e3e95e66ff078c28e1956.tar.gz |
configure: Ensure that user's LD setting is respected
This broke in the fix for #13541.
(cherry picked from commit d08b9ccdf2812e8f8fa34d0c89275deee574524c)
-rw-r--r-- | aclocal.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 3e5c5dc237..c48b42c25d 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` |