config/libc: Extend glibc 2.32 workaround to include sparc

Sparc seems to be affected by the same issues as powerpc64. Disable
glibc warnings for sparc.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2020-09-14 20:54:30 +12:00
parent a6442e19a3
commit 215432d380

View File

@ -402,6 +402,7 @@ config GLIBC_SSP
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