aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlater, Joseph <joe.slater@windriver.com>2018-06-23 16:56:26 -0700
committerKhem Raj <raj.khem@gmail.com>2018-06-25 10:23:33 -0700
commit4517d1c695efd0b175f4e7242e1a7bb4361527d9 (patch)
treec87a975a576b7a9dee626db1fd94a9cf0e9f34eb
parent872399c7512952dc8bd9fcc45c0d90322c54968f (diff)
downloadmeta-openembedded-contrib-4517d1c695efd0b175f4e7242e1a7bb4361527d9.tar.gz
meta-openembedded-contrib-4517d1c695efd0b175f4e7242e1a7bb4361527d9.tar.bz2
meta-openembedded-contrib-4517d1c695efd0b175f4e7242e1a7bb4361527d9.zip
metacity: allow for warnings during compilation
Add a PACKAGECONFIG option which lets us permit warnings during compilation until warnings from new compiler versions are dealt with. enable the packageconfig by default since we default to gcc8 which produces these warning Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
index ce97a803f1..189f6ec558 100644
--- a/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
+++ b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
@@ -23,6 +23,11 @@ SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f"
EXTRA_OECONF += "--disable-xinerama"
+PACKAGECONFIG ?= ""
+
+# enable as neccessary until new warnings are dealt with
+PACKAGECONFIG[werror] = "--enable-Werror,--disable-Werror,,"
+
do_configure_prepend() {
cd ${S}
aclocal --install || exit 1