[OE-core] [PATCH 19/19] pango: Disable Wimplicit-fallthrough as error
Khem Raj
raj.khem at gmail.com
Sun Dec 29 18:44:15 UTC 2019
Clang is quite a lot more stricter and ends up finding more cases,
these are code format warnings so its safer to disable them here.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-graphics/pango/pango_1.44.7.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-graphics/pango/pango_1.44.7.bb b/meta/recipes-graphics/pango/pango_1.44.7.bb
index afb56a6cde..0ee8abcc09 100644
--- a/meta/recipes-graphics/pango/pango_1.44.7.bb
+++ b/meta/recipes-graphics/pango/pango_1.44.7.bb
@@ -32,6 +32,10 @@ PACKAGECONFIG[thai] = ",,libthai"
GTKDOC_MESON_OPTION = "gtk_doc"
GIR_MESON_OPTION = 'introspection'
+do_configure_prepend_toolchain-clang() {
+ sed -i -e "/Werror=implicit-fallthrough/d" ${S}/meson.build
+}
+
LEAD_SONAME = "libpango-1.0*"
FILES_${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}"
--
2.24.1
More information about the Openembedded-core
mailing list