diff options
author | Jonathan Yong <10walls@gmail.com> | 2022-12-27 15:57:50 +0000 |
---|---|---|
committer | Jonathan Yong <10walls@gmail.com> | 2022-12-27 16:00:11 +0000 |
commit | cf8b110ce33db6c1505dd112ec51bce343b32805 (patch) | |
tree | 83db38be00d061d0197f5c09837b5a90f2646e7b /gcc | |
parent | b92f1c2dcc7b79467662321615f6eafb0c441c7d (diff) | |
download | gcc-cf8b110ce33db6c1505dd112ec51bce343b32805.zip gcc-cf8b110ce33db6c1505dd112ec51bce343b32805.tar.gz gcc-cf8b110ce33db6c1505dd112ec51bce343b32805.tar.bz2 |
gcc: fix Windows target binutils secrel detection
Newer binutils uses all caps, where it was all lower case
previously. Pushed as obvious.
This should resolve:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100383
gcc/
* configure.ac: use grep -i for case insensitive test.
* configure: Regenerate.
Signed-off-by: Jonathan Yong <10walls@gmail.com>
Diffstat (limited to 'gcc')
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure index 921aad6..254f9b6 100755 --- a/gcc/configure +++ b/gcc/configure @@ -24838,7 +24838,7 @@ else gcc_cv_as_cfi_sections_directive=no if test "x$gcc_cv_objdump" != x; then if $gcc_cv_objdump -j .debug_frame -r conftest.o 2>/dev/null | \ - grep secrel > /dev/null; then + grep -i secrel > /dev/null; then gcc_cv_as_cfi_sections_directive=yes fi fi diff --git a/gcc/configure.ac b/gcc/configure.ac index b91f54c..92a0f15 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3335,7 +3335,7 @@ gcc_GAS_CHECK_FEATURE([cfi sections directive], gcc_cv_as_cfi_sections_directive=no if test "x$gcc_cv_objdump" != x; then if $gcc_cv_objdump -j .debug_frame -r conftest.o 2>/dev/null | \ - grep secrel > /dev/null; then + grep -i secrel > /dev/null; then gcc_cv_as_cfi_sections_directive=yes fi fi |