From: Khem Raj Date: Fri, 29 Jul 2016 22:28:01 +0000 (-0700) Subject: gdb: Cache gnu gettext config vars for musl builds X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a09a7b71cef054d86feb3de1ae394515929ded3d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gdb: Cache gnu gettext config vars for musl builds 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gdb/gdb_7.11.bb b/meta/recipes-devtools/gdb/gdb_7.11.bb index f02e6431ddd..57cffc99833 100644 --- a/meta/recipes-devtools/gdb/gdb_7.11.bb +++ b/meta/recipes-devtools/gdb/gdb_7.11.bb @@ -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