summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-08-07 10:51:37 -0400
committerBen Gamari <ben@well-typed.com>2020-08-07 10:51:37 -0400
commitd589ef25f54862968976bc279eb6748509794566 (patch)
treed1dee48873f09871a397aaa032635127083a9c8a
parentdd51d53be42114c105b5ab15fcbdb387526b1c17 (diff)
downloadhaskell-wip/T17962c.tar.gz
configure: Fix double-negation in ld merge-objects checkwip/T17962c
We want to only run the check if ld is gold. Fixes the fix to #17962.
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index daf91d83ec..5506f8cd47 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2543,7 +2543,7 @@ AC_DEFUN([FIND_LD],[
# Sets $result to 0 if not affected, 1 otherwise
AC_DEFUN([CHECK_FOR_GOLD_T22266],[
AC_MSG_CHECKING([for ld.gold object merging bug (binutils 22266)])
- if ! $1 --version | grep -v -q "GNU gold"; then
+ if ! $1 --version | grep -q "GNU gold"; then
# Not gold
result=0
elif test "$cross_compiling" = "yes"; then