From: Adhemerval Zanella Date: Fri, 17 Oct 2025 19:13:13 +0000 (-0300) Subject: Fix -Wno-ignored-attributes configure check X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8b5413001ab8cd203ab5459048aaaa411e3cbb1;p=thirdparty%2Fglibc.git Fix -Wno-ignored-attributes configure check The configure check always fail with clang: conftest.c:5:58: error: expected string literal as argument of 'alias' attribute 5 | extern __typeof (__foo) foo __attribute__ ((weak, alias (__foo))); | ^ conftest.c:6:58: error: expected string literal as argument of 'alias' attribute 6 | extern __typeof (__foo) bar __attribute__ ((weak, alias (foo))); | ^ Reviewed-by: Sam James --- diff --git a/configure b/configure index 222f04db22..25413727e3 100755 --- a/configure +++ b/configure @@ -7548,8 +7548,8 @@ conftest_code=" void __foo (void) { } -extern __typeof (__foo) foo __attribute__ ((weak, alias ("__foo"))); -extern __typeof (__foo) bar __attribute__ ((weak, alias ("foo"))); +extern __typeof (__foo) foo __attribute__ ((weak, alias (\"__foo\"))); +extern __typeof (__foo) bar __attribute__ ((weak, alias (\"foo\"))); " cat > conftest.c <