summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-08-07 10:51:37 -0400
committerBen Gamari <ben@smart-cactus.org>2020-08-07 10:53:04 -0400
commit29204b1c4f52ea34d84da33593052ee839293bf2 (patch)
treee56460c76a88daaf964c1449c0c18f8250093057
parent44f958c869f88936db583a0e7edfa47a67cdf8f9 (diff)
downloadhaskell-ghc-8.10.2-release.tar.gz
configure: Fix double-negation in ld merge-objects checkghc-8.10.2-release
We want to only run the check if ld is gold. Fixes the fix to #17962. (cherry picked from commit d589ef25f54862968976bc279eb6748509794566)
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index da283284ab..55ce057012 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2527,7 +2527,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