aboutsummaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/glibc.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 001cd2f1..5a3b1b8c 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -150,7 +150,7 @@ config GLIBC_NO_SPARC_V8
# The option and the code has finally been removed in 2.32
config GLIBC_HAS_OBSOLETE_RPC
def_bool y
- depends on GLIBC_2_14_or_later && !CT_GLIBC_2_32_or_later
+ depends on GLIBC_2_14_or_later && !GLIBC_2_32_or_later
config GLIBC_EXTRA_CONFIG_ARRAY
string
@@ -403,8 +403,9 @@ config GLIBC_SSP
# GCC8-related fixes were only available in glibc 2.27.
config GLIBC_ENABLE_WERROR
bool "Enable -Werror during the build"
- depends on !(ARCH_POWERPC && ARCH_64 && GLIBC_V_2_32)
- depends on !(ARCH_SPARC && GLIBC_V_2_32)
+ default n if GLIBC_2_32_or_later && ARCH_POWERPC && ARCH_64
+ default n if GLIBC_2_32_or_later && ARCH_SPARC
+ default n if GLIBC_2_32_or_later && GCC_11_or_later
default y if GCC_7_or_older
default y if GCC_8_or_later && GLIBC_2_27_or_later
help