diff options
Diffstat (limited to 'config/libc/glibc.in')
-rw-r--r-- | config/libc/glibc.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in index f891392..8174dc4 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -145,9 +145,10 @@ config GLIBC_NO_SPARC_V8 # in 2.16, adding an option to enable that code. Crosstool-NG backports that code # to 2.14/2.15, but there is no harm in throwing this option even if that patch # is not applied. +# 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 + depends on GLIBC_2_14_or_later && !CT_GLIBC_2_32_or_later config GLIBC_EXTRA_CONFIG_ARRAY string @@ -400,6 +401,8 @@ 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 y if GCC_7_or_older default y if GCC_8_or_later && GLIBC_2_27_or_later help |