Skip to contentSkip to conversation

libyui-ncurses: Disable werror with clang

PATCH New Khem Raj 1 participant 1 message Aug 18, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libyui-ncurses: Disable werror with clang

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

---
 meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb +3 -0
index d23ec3faef..ba94a838a9 100644
@@ -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
Signature · 1 line
2.28.0