mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 05:43:09 +00:00
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 commits6ca5f91f
("Disable -Werror for GLIBC for all ARCH for GCC11."),215432d3
("config/libc: Extend glibc 2.32 workaround to include sparc") and645ee124
("glibc: Don't build with -Werror for powerpc64+glibc-2.32"). Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
557b9d4f8d
commit
f58583039f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user