[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH 19/19] pango: Disable Wimplicit-fallthrough as error
From: Khem Raj <raj.khem () gmail ! com>
Date: 2019-12-29 18:44:15
Message-ID: 20191229184415.19514-19-raj.khem () gmail ! com
[Download RAW message or body]
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@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
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic