From 6c25c473379a56729d8a4fa65c0ff646e2c8db29 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 17 Aug 2020 17:16:09 -0700 Subject: [PATCH] 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 --- 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