summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-08-07 10:51:37 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-07 23:58:45 -0400
commit8a665db6174eaedbbae925c0ccb4c22b3f29bcaf (patch)
tree8c3e9f06ed28fe62344ff1bfaefb86fcb8e6582d /aclocal.m4
parente4f1b73ad9f292a6bbeb21fee44b0ba1a7f3c33b (diff)
downloadhaskell-8a665db6174eaedbbae925c0ccb4c22b3f29bcaf.tar.gz
configure: Fix double-negation in ld merge-objects check
We want to only run the check if ld is gold. Fixes the fix to #17962.
Diffstat (limited to 'aclocal.m4')
-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