glibc: Disable -Werror for GCC14

Current glibc versions don't compile without warnings with GCC14.
Disable -Werror for glibc when using GCC14.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2024-05-15 21:11:31 +12:00
parent 1f8fae2615
commit 2d9e263d1f

View File

@ -436,7 +436,7 @@ config GLIBC_ENABLE_WERROR
(GCC_9_or_later && !GCC_10_or_later && GLIBC_2_29_or_later) || \
(GCC_10_or_later && !GCC_11_or_later && GLIBC_2_31_or_later) || \
(GCC_11_or_later && !GCC_13_or_later && GLIBC_2_34_or_later) || \
(GCC_13_or_later && GLIBC_2_37_or_later)
(GCC_13_or_later && !GCC_14_or_later && GLIBC_2_37_or_later)
default y
help
By default, glibc enables strict warning checks during the build.