glib: set glib-specific cross properties
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.

(From OE-Core rev: e04e0a20cab04966698c50dc79195a8f159248d3)
(From poky    rev: 9bad984bf3fd828a655614568214b6c6c4f99860)

Signed-off-by: Ross Burton <cd36ec7a67dfb8d589bc66b85fd0a6cf213f3854@intel.com>
Signed-off-by: Richard Purdie <3b7a1db6efedd40440bc6443bf377195011524e5@linuxfoundation.org>
[Apply to glib-2.0_debian.bb only]
Signed-off-by: Nobuhiro Iwamatsu <126d27d25ebdb57d44427e9e193132771c216f39@toshiba.co.jp>

meta-debian/meta-debian,meta-debian/meta-debian,meta-debian/meta-debian,meta-debian/meta-debian,meta-debian/meta-debian,meta-debian/meta-debian