diff options
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/glibc.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in index 3da38bdb..08df3ea4 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -403,11 +403,17 @@ config GLIBC_SSP default "strong" if GLIBC_SSP_STRONG # All supported versions of glibc build cleanly with GCC7 and earlier. -# GCC8-related fixes were only available in glibc 2.27. +# GCC8-related fixes were only available in glibc 2.27 +# GCC9-related fixes were available in glibc 2.29 +# GCC10-related fixes were available in glibc 2.31 +# GCC11-related fixes were available in glibc 2.34 config GLIBC_ENABLE_WERROR bool "Enable -Werror during the build" default y if GCC_7_or_older - default y if GCC_8_or_later && GLIBC_2_27_or_later + default y if GCC_8_or_later && !GCC_9_or_later && GLIBC_2_27_or_later + default y if GCC_9_or_later && !GCC_10_or_later && GLIBC_2_29_or_later + default y if GCC_10_or_later && !GCC_11_or_later && GLIBC_2_31_or_later + default y if GCC_11_or_later && GLIBC_2_34_or_later help By default, glibc enables strict warning checks during the build. However, older version of glibc may not build with newer versions |