summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-11-21 07:51:17 (GMT)
committerChris Packham <judge.packham@gmail.com>2022-01-12 08:02:38 (GMT)
commitf58583039f4d0ca7ba71bf8af41490b9bd02d98c (patch)
tree08309c34586dbbf324354fb32223d047f715ba19 /config/libc
parent557b9d4f8dbf41a587508a16df853d4a7677d04b (diff)
glibc: Re-enable Werror
Now that we have a 2-pass build it is no longer necessary to disable -Werror in glibc. This partially reverts commits 6ca5f91f ("Disable -Werror for GLIBC for all ARCH for GCC11."), 215432d3 ("config/libc: Extend glibc 2.32 workaround to include sparc") and 645ee124 ("glibc: Don't build with -Werror for powerpc64+glibc-2.32"). Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/glibc.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 1280d98..63c31f6 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -407,9 +407,6 @@ config GLIBC_SSP
# GCC8-related fixes were only available in glibc 2.27.
config GLIBC_ENABLE_WERROR
bool "Enable -Werror during the build"
- 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