[oe-commits] Richard Purdie : glib-2.0: Allow correct printf configuration on darwin/ mingw

git at git.openembedded.org git at git.openembedded.org
Fri Aug 15 07:47:44 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: ba37c147e82e6466030cf40a9e86442ac7592185
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ba37c147e82e6466030cf40a9e86442ac7592185

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Aug 14 14:34:42 2014 +0100

glib-2.0: Allow correct printf configuration on darwin/mingw

mingw and darwin builds need to change the value of printf from no
to yes. Whilst you can do this from a bbappend, its currently a bit ugly
and assumes knowledge of the other conf arguments. Fixing this in the glib
recipe directly is cleaner in this case.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/glib-2.0/glib.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 373f962..f797ab3 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -31,7 +31,10 @@ S = "${WORKDIR}/glib-${PV}"
 
 CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap --disable-man"
 
-EXTRA_OECONF = "--enable-included-printf=no ${CORECONF}"
+PRINTF = "--enable-included-printf=no"
+PRINTF_darwin = "--enable-included-printf=yes"
+PRINTF_mingw32 = "--enable-included-printf=yes"
+EXTRA_OECONF = "${PRINTF} ${CORECONF}"
 EXTRA_OECONF_class-native = "${CORECONF} --disable-selinux"
 EXTRA_OECONF_append_libc-uclibc = " --with-libiconv=gnu"
 



More information about the Openembedded-commits mailing list