[oe-commits] [meta-openembedded] 20/20: metacity: allow for warnings during compilation

git at git.openembedded.org git at git.openembedded.org
Sun Jun 24 19:10:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 119dd5894190bc33e1948239976c831bff5a33ff
Author: Slater, Joseph <joe.slater at windriver.com>
AuthorDate: Sat Jun 23 16:56:26 2018 -0700

    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 at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb | 5 +++++
 1 file changed, 5 insertions(+)

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 ce97a80..189f6ec 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list