From a09a7b71cef054d86feb3de1ae394515929ded3d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 29 Jul 2016 15:28:01 -0700 Subject: 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 --- meta/recipes-devtools/gdb/gdb_7.11.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-devtools/gdb') diff --git a/meta/recipes-devtools/gdb/gdb_7.11.bb b/meta/recipes-devtools/gdb/gdb_7.11.bb index f02e6431dd..57cffc9983 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 -- cgit v1.2.3-54-g00ecf