[oe-commits] [openembedded-core] 10/19: pango: Disable Wimplicit-fallthrough as error
git at git.openembedded.org
git at git.openembedded.org
Mon Dec 30 10:57:02 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit bdd23a0692023f5fb4a839b05267e26b0dce6d6f
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sun Dec 29 10:44:15 2019 -0800
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 <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 afb56a6..0ee8abc 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}"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list