From: Jonathan Yong <10walls@gmail.com> Date: Tue, 27 Dec 2022 15:57:50 +0000 (+0000) Subject: gcc: fix Windows target binutils secrel detection X-Git-Tag: basepoints/gcc-14~2304 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf8b110ce33db6c1505dd112ec51bce343b32805;p=thirdparty%2Fgcc.git 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> --- diff --git a/gcc/configure b/gcc/configure index 921aad607127..254f9b6c9430 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 b91f54ce05bc..92a0f15ab740 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