]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdb: Cache gnu gettext config vars for musl builds
authorKhem Raj <raj.khem@gmail.com>
Fri, 29 Jul 2016 22:28:01 +0000 (15:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Aug 2016 14:05:46 +0000 (15:05 +0100)
intl is used in gdb as well and we run the configure for
it when running do compile. So we need to insert these
caching of variables to extra oe_make

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gdb/gdb_7.11.bb

index f02e6431dddaa2e68d0a198b3fe91903c9344437..57cffc99833b85d62eb10205facee2294ccbf235 100644 (file)
@@ -3,6 +3,11 @@ require gdb-${PV}.inc
 
 inherit python3-dir
 
+EXTRA_OEMAKE_append_libc-musl = "\
+                                 gt_cv_func_gnugettext1_libc=yes \
+                                 gt_cv_func_gnugettext2_libc=yes \
+                                "
+
 do_configure_prepend() {
        if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then
                cat > ${WORKDIR}/python << EOF