]> code.ossystems Code Review - openembedded-core.git/commit
glib: set glib-specific cross properties
authorRoss Burton <ross.burton@intel.com>
Tue, 26 Mar 2019 12:01:57 +0000 (12:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2019 14:03:48 +0000 (14:03 +0000)
commite04e0a20cab04966698c50dc79195a8f159248d3
tree819bdf0ddc208d3b441f22368e39624586626498
parentaeaca9bb1b1c8bf44818945dc4b2cbd6d4b5cef2
glib: set glib-specific cross properties

GLib wants to execute code to identify several properties of the system, for
example is vsprintf() broken and what direction does the stack grow. In
cross-compiled environments these fallback to the default values which are not
always correct (our vsprintf() is fine, but the test assumes it isn't) so set
these properties explicitly.

Ideally this happens magically by meson.bbclass using the same logic as
siteinfo.bbclass, but we need to fix glib now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0/glib-meson.cross [new file with mode: 0644]
meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb
meta/recipes-core/glib-2.0/glib.inc