]> 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>
Fri, 23 Sep 2016 14:26:00 +0000 (15:26 +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

(From OE-Core rev: 60de4d6c717c6a5131b02de29234d53a6ca1b993)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/gdb/gdb_7.10.1.bb

index f897e1213ef8401755052038f5dbb3d7eb4a8c4f..47caf8e235749a1143ff48ee85a5e4c426cf8e42 100644 (file)
@@ -3,6 +3,11 @@ require gdb-${PV}.inc
 
 inherit python-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