Skip to contentSkip to conversation

glibc: Disable warnings as errors

PATCH New Khem Raj 1 participant 1 message Mar 17, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 glibc: Disable warnings as errors

As distro builders this option helps using different compilers to build glibc

---
 meta/recipes-core/glibc/glibc_2.37.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc_2.37.bb +1 -0
index 762a2793ad..b27f98fb19 100644
@@ -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}"
Signature · 1 line
2.40.0