[commit: ghc] master: aclocal: Fix regression in linker detection (5164cce)

git at git.haskell.org git at git.haskell.org
Fri Jun 2 16:28:17 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5164cce20bc6f09f55cf5c4d1797b72b7e85b176/ghc

>---------------------------------------------------------------

commit 5164cce20bc6f09f55cf5c4d1797b72b7e85b176
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Jun 2 09:36:01 2017 -0400

    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.


>---------------------------------------------------------------

5164cce20bc6f09f55cf5c4d1797b72b7e85b176
 aclocal.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 437974a..adc70bc 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-*)



More information about the ghc-commits mailing list