[oe-commits] [openembedded-core] 13/17: glib: set missing cross property

git at git.openembedded.org git at git.openembedded.org
Mon Jan 6 14:49:09 UTC 2020


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 13aeb927079db95cda7b77c88fb0cad729a9c514
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Jan 6 12:47:26 2020 +0000

    glib: set missing cross property
    
    GLib 2.60 onwards checks for /proc/self/cmdline instead of assuming that
    it exists on Linux (because Cygwin also has it).  As this is a runtime
    test it doesn't execute in cross builds so defaults to false, but under
    Linux this should be true.
    
    Restore the previous behaviour and silence the warning by setting the
    cross property appropriately.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross b/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross
index b5df400..5246c77 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross
+++ b/meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross
@@ -4,6 +4,7 @@ have_c99_snprintf = true
 have_unix98_printf = true
 va_val_copy = true
 growing_stack = false
+have_proc_self_cmdline = true
 
 [binaries]
 env = "/usr/bin/env"

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


More information about the Openembedded-commits mailing list