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:35:01 -0400 |
commit | d08b9ccdf2812e8f8fa34d0c89275deee574524c (patch) | |
tree | 8f1e4f008f257c11413767ad3fc6625113c968ba /aclocal.m4 | |
parent | f134bfb84d2e6ddb99f3ba008d8b156d3f454a46 (diff) | |
download | haskell-d08b9ccdf2812e8f8fa34d0c89275deee574524c.tar.gz |
configure: Ensure that user's LD setting is respected
This broke in the fix for #13541.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 0389474b11..11606c7842 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2283,6 +2283,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` |