glib-2.0: don't disable all debugging functionality
authorRoss Burton <ross.burton@intel.com>
Thu, 30 Aug 2012 14:51:59 +0000 (15:51 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Aug 2012 00:44:05 +0000 (17:44 -0700)
GLib will use "minimal" debugging on non-development builds and the extra safety
net and ability to debug at all is totally worth the small performance cost.

If someone has a need for every ounce of performance, a simple .bbappend can
restore this option.

(From OE-Core rev: 4337545ea05ec9d9f64244bb6be83fab329478d1)

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_2.32.4.bb
meta/recipes-core/glib-2.0/glib.inc

index 8f7cd69..7bc97d6 100644 (file)
@@ -1,6 +1,6 @@
 require glib.inc
 
-PR = "r4"
+PR = "r5"
 PE = "1"
 
 DEPENDS += "libffi python-argparse-native zlib"
index 3540cd5..9dca440 100644 (file)
@@ -27,7 +27,7 @@ S = "${WORKDIR}/glib-${PV}"
 
 CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap"
 
-EXTRA_OECONF = "--disable-debug --enable-included-printf=no ${CORECONF}"
+EXTRA_OECONF = "--enable-included-printf=no ${CORECONF}"
 EXTRA_OECONF_virtclass-native = "${CORECONF}"
 EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}"