From f58583039f4d0ca7ba71bf8af41490b9bd02d98c Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 21 Nov 2021 20:51:17 +1300 Subject: 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 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 -- cgit v0.10.2-6-g49f6