Skip to content

Commit

Permalink
glibc: Disable -Werror for GCC14
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cpackham committed May 15, 2024
1 parent 774ac80 commit 5d39934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/libc/glibc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5d39934

Please sign in to comment.