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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-08-17 17:16:09 -07:00
parent 503d90b608
commit 6c25c47337
@@ -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