summaryrefslogtreecommitdiff
path: root/config/libc/glibc.in
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-09-14 08:54:30 (GMT)
committerChris Packham <judge.packham@gmail.com>2020-09-14 08:55:49 (GMT)
commit215432d380a2f2cb7986285397ce4fc49e999e9d (patch)
treef88894fcf3390833112a80047bdfa00c0e1869b3 /config/libc/glibc.in
parenta6442e19a3c222a0e29126a7931e8d738e14c033 (diff)
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>
Diffstat (limited to 'config/libc/glibc.in')
-rw-r--r--config/libc/glibc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index a82ff3c..8174dc4 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -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