summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/pango
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-29 10:44:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-30 23:38:12 +0000
commit735eb7f3e0d14be50b17e85af6e6da7fc2921924 (patch)
tree6b67946c1316c100f2584c6ebbcc9fa162566217 /meta/recipes-graphics/pango
parentebb315955c1ec0cb524d8678ca5af1648f700406 (diff)
downloadopenembedded-core-contrib-735eb7f3e0d14be50b17e85af6e6da7fc2921924.tar.gz
openembedded-core-contrib-735eb7f3e0d14be50b17e85af6e6da7fc2921924.tar.bz2
openembedded-core-contrib-735eb7f3e0d14be50b17e85af6e6da7fc2921924.zip
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@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r--meta/recipes-graphics/pango/pango_1.44.7.bb4
1 files changed, 4 insertions, 0 deletions
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}"