From: Khem Raj Date: Sun, 29 Dec 2019 18:44:15 +0000 (-0800) Subject: pango: Disable Wimplicit-fallthrough as error X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~12355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=735eb7f3e0d14be50b17e85af6e6da7fc2921924;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pango: Disable Wimplicit-fallthrough as error 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/pango/pango_1.44.7.bb b/meta/recipes-graphics/pango/pango_1.44.7.bb index afb56a6cde9..0ee8abcc094 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}"