]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix configure from ab22e5ec37396f6c6f29d3e3306f6fcc2ebe9d49
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 22 Oct 2025 20:23:12 +0000 (17:23 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 22 Oct 2025 20:23:12 +0000 (17:23 -0300)
The "-Wno-unused-command-line-argument" was incorrectly added.

configure

index f44dfcb03c3b89604db86903acc14f98b3f7258d..85bfeec8a907ce562fa665a475df7c77b20bad2c 100755 (executable)
--- a/configure
+++ b/configure
@@ -7515,8 +7515,7 @@ $conftest_code
 EOF
 
 saved_CC="$CC"
-saved_CFLAGS="$CFLAGS"
-CC="$TEST_CC -Wno-unused-command-line-argument"
+CC="$TEST_CC"
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for traditional tls support in testing" >&5
 printf %s "checking for traditional tls support in testing... " >&6; }
 if test ${libc_cv_test_mtls_traditional+y}
@@ -8084,8 +8083,7 @@ if test "$TEST_CC" = "$CC"; then
 else
 
 saved_CC="$CC"
-saved_CFLAGS="$CFLAGS"
-CC="$TEST_CC -Wno-unused-command-line-argument"
+CC="$TEST_CC"
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -Wfree-labels in testing" >&5
 printf %s "checking for -Wfree-labels in testing... " >&6; }
 if test ${libc_cv_test_cc_wfree_labels+y}
@@ -8145,8 +8143,7 @@ if test "$TEST_CC" = "$CC"; then
 else
 
 saved_CC="$CC"
-saved_CFLAGS="$CFLAGS"
-CC="$TEST_CC -Wno-unused-command-line-argument"
+CC="$TEST_CC"
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -Wmissing-parameter-name in testing" >&5
 printf %s "checking for -Wmissing-parameter-name in testing... " >&6; }
 if test ${libc_cv_test_cc_wmissing_parameter_name+y}