diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-03-03 14:13:55 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-03-03 14:18:55 -0800 |
| commit | 7af511f644a653acde35b97e13b572ad07e99383 (patch) | |
| tree | 7ded1309c020ef8f877929c4d4abca87d9d6f503 | |
| parent | ae993f73caeb5af81c144d2189275be1420b418b (diff) | |
| download | meta-openembedded-7af511f644a653acde35b97e13b572ad07e99383.tar.gz | |
libyui-ncurses: Disable Werror
There are new warnings seen with new clang 12 and gcc11
lets disable the warnings-as-errors for now
src/NCPopupTextEntry.cc:76:74: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
| 76 | NCInputField::PLAIN);
| | ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/libyui/libyui-ncurses_4.0.0.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.0.0.bb b/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.0.0.bb index 5efbb44901..333163deba 100644 --- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.0.0.bb +++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.0.0.bb | |||
| @@ -19,8 +19,7 @@ DEPENDS += "boost libyui ncurses" | |||
| 19 | 19 | ||
| 20 | BBCLASSEXTEND = "nativesdk" | 20 | BBCLASSEXTEND = "nativesdk" |
| 21 | 21 | ||
| 22 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO" | 22 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF" |
| 23 | EXTRA_OECMAKE_append_toolchain-clang = " -DENABLE_WERROR=OFF" | ||
| 24 | 23 | ||
| 25 | do_configure_prepend () { | 24 | do_configure_prepend () { |
| 26 | cd ${S} | 25 | cd ${S} |
