aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/libc/glibc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 16ffe4ed..8f1e0672 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -197,8 +197,8 @@ config GLIBC_ENABLE_DEBUG
config GLIBC_EXTRA_CFLAGS
string
prompt "extra target CFLAGS"
- default "-Wno-missing-attributes -Wno-array-bounds -Wno-array-parameter -Wno-stringop-overflow -Wno-maybe-uninitialized" if GLIBC_2_29_or_older && GCC_11_or_later
- default ""
+ default "-Wno-missing-attributes -Wno-array-bounds -Wno-array-parameter -Wno-stringop-overflow -Wno-maybe-uninitialized" if GLIBC_2_29_or_older && GCC_11_or_later && !GCC_14_or_later
+ default "-Wno-missing-attributes -Wno-array-bounds -Wno-array-parameter -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-implicit-int" if GLIBC_2_29_or_older && GCC_14_or_later
help
Extra target CFLAGS to use when building.