summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-03-17 06:18:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-22 23:17:27 +0000
commit3a7aa768c5010bf1a63b61d759e136ca8be7917a (patch)
tree433cbb6438d254eeefa05d57d5f7bf6e081140d5 /meta/recipes-core/glibc
parent506e22a311cfe1136e70eadc0f1f07933aca072c (diff)
downloadpoky-3a7aa768c5010bf1a63b61d759e136ca8be7917a.tar.gz
glibc: Disable warnings as errors
As distro builders this option helps using different compilers to build glibc (From OE-Core rev: 4b082870d425b94cd2a7859d7d113d5c178b92b7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r--meta/recipes-core/glibc/glibc_2.37.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.37.bb b/meta/recipes-core/glibc/glibc_2.37.bb
index 762a2793ad..b27f98fb19 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} \
74 --enable-stack-protector=strong \ 74 --enable-stack-protector=strong \
75 --disable-crypt \ 75 --disable-crypt \
76 --with-default-link \ 76 --with-default-link \
77 --disable-werror \
77 ${@bb.utils.contains_any('SELECTED_OPTIMIZATION', '-O0 -Og', '--disable-werror', '', d)} \ 78 ${@bb.utils.contains_any('SELECTED_OPTIMIZATION', '-O0 -Og', '--disable-werror', '', d)} \
78 ${GLIBCPIE} \ 79 ${GLIBCPIE} \
79 ${GLIBC_EXTRA_OECONF}" 80 ${GLIBC_EXTRA_OECONF}"