clang11 find inconsistencies with overloading of functions and emits
additional warning, lets not treat the warnings as errors on clang
untill this is fixed

Add RELWITHDEBINFO so debug info is generated as well

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb 
b/meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb
index d23ec3faef..ba94a838a9 100644
--- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb
+++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb
@@ -20,6 +20,9 @@ DEPENDS += "boost libyui ncurses"
 
 BBCLASSEXTEND = "nativesdk"
 
+EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO"
+EXTRA_OECMAKE_append_toolchain-clang = "-DENABLE_WERROR=OFF"
+
 do_configure_prepend () {
     cd ${S}
     git checkout bootstrap.sh
-- 
2.28.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86414): 
https://lists.openembedded.org/g/openembedded-devel/message/86414
Mute This Topic: https://lists.openembedded.org/mt/76256289/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to