summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-06-02 09:36:01 -0400
committerBen Gamari <ben@smart-cactus.org>2017-06-02 12:27:45 -0400
commit5164cce20bc6f09f55cf5c4d1797b72b7e85b176 (patch)
tree364214219763a0b8c8d8465497a65bb7db78b589
parent35c7ea8b01a849aceca5c017989043d4cb6fe8a6 (diff)
downloadhaskell-5164cce20bc6f09f55cf5c4d1797b72b7e85b176.tar.gz
aclocal: Fix regression in linker detection
5ddb307edf15c4d86e5c35c4063ec967424e19f2 regressed autoconf's ability to find the linker due to a silly variable interpolation issue, causing segmentation faults on AArch64.
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 437974a0c7..adc70bcdde 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -581,7 +581,7 @@ AC_DEFUN([FP_SET_CFLAGS_C99],
# $5 is the name of the CPP flags variable
AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
[
- FIND_LD([$1],[UseLd])
+ FIND_LD([$$1],[UseLd])
AC_MSG_CHECKING([Setting up $2, $3, $4 and $5])
case $$1 in
i386-*)