diff options
author | Ben Gamari <ben@well-typed.com> | 2020-08-07 10:51:37 -0400 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2020-08-07 10:51:37 -0400 |
commit | d589ef25f54862968976bc279eb6748509794566 (patch) | |
tree | d1dee48873f09871a397aaa032635127083a9c8a | |
parent | dd51d53be42114c105b5ab15fcbdb387526b1c17 (diff) | |
download | haskell-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.m4 | 2 |
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 |