From: Khem Raj Date: Fri, 17 Mar 2023 13:18:32 +0000 (-0700) Subject: glibc: Disable warnings as errors X-Git-Tag: 2023-04-mickledore~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b082870d425b94cd2a7859d7d113d5c178b92b7;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git glibc: Disable warnings as errors As distro builders this option helps using different compilers to build glibc Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glibc/glibc_2.37.bb b/meta/recipes-core/glibc/glibc_2.37.bb index 762a2793ad3..b27f98fb199 100644 --- a/meta/recipes-core/glibc/glibc_2.37.bb +++ b/meta/recipes-core/glibc/glibc_2.37.bb @@ -74,6 +74,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --enable-stack-protector=strong \ --disable-crypt \ --with-default-link \ + --disable-werror \ ${@bb.utils.contains_any('SELECTED_OPTIMIZATION', '-O0 -Og', '--disable-werror', '', d)} \ ${GLIBCPIE} \ ${GLIBC_EXTRA_OECONF}"