summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-07-28 13:35:01 -0400
committerBen Gamari <ben@smart-cactus.org>2017-07-28 13:35:01 -0400
commitd08b9ccdf2812e8f8fa34d0c89275deee574524c (patch)
tree8f1e4f008f257c11413767ad3fc6625113c968ba /aclocal.m4
parentf134bfb84d2e6ddb99f3ba008d8b156d3f454a46 (diff)
downloadhaskell-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.m41
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`