aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2024-05-15 21:11:31 +1200
committerChris Packham <judge.packham@gmail.com>2024-05-18 15:45:55 +1200
commit2d9e263d1fad1e35ab13aba577459d4ea1f82aae (patch)
tree5f6790711a687a710546005f40017e732226d8b0
parent1f8fae26155d0897ee8026f008e249c712dc4e62 (diff)
downloadcrosstool-ng-2d9e263d1fad1e35ab13aba577459d4ea1f82aae.tar.gz
crosstool-ng-2d9e263d1fad1e35ab13aba577459d4ea1f82aae.tar.bz2
crosstool-ng-2d9e263d1fad1e35ab13aba577459d4ea1f82aae.zip
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>
-rw-r--r--config/libc/glibc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 4b534adb..52cb3149 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -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.