libglib2: fix g_print()
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Mon, 17 Dec 2012 10:05:40 +0000 (10:05 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 18 Dec 2012 08:37:35 +0000 (09:37 +0100)
commit9a7e06dc83b70eaed900ab5078206e1c7d0ce141
tree2bd1ace301cd01f549ec3bfc3601cec6f96d11b1
parent69c045d5fbaf54b9468a99f5bbf2c531b2aef335
libglib2: fix g_print()

If GLib is cross-compiled, the default printf settings that it selects are wrong
for glibc. This leads to issues with the g_print() functions, e.g. "Aborted"
errors returned by gst-inspect.

This patch fixes this issue by setting printf configuration options compatible
with glibc. These options should also be compatible with uClibc.

This solution has been suggested for LTIB by Rogerio Nunes:
https://community.freescale.com/thread/302734

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libglib2/libglib2.mk