From a10c9109e23aae01fe501e028293a77d69f39fd9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 29 Jul 2016 15:28:01 -0700 Subject: [PATCH] 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) (From OE-Core rev: e33aaed01b1b26d8ea22fc87afe436a93b64a790) Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- meta/recipes-devtools/gdb/gdb_7.10.1.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/gdb/gdb_7.10.1.bb b/meta/recipes-devtools/gdb/gdb_7.10.1.bb index f897e1213e..47caf8e235 100644 --- a/meta/recipes-devtools/gdb/gdb_7.10.1.bb +++ b/meta/recipes-devtools/gdb/gdb_7.10.1.bb @@ -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