diff mbox

[3/3] gdb: Cache gnu gettext config vars for musl builds

Message ID 20160729222801.9806-3-raj.khem@gmail.com
State Accepted
Commit 60de4d6c717c6a5131b02de29234d53a6ca1b993
Headers show

Commit Message

Khem Raj July 29, 2016, 10:28 p.m. UTC
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>

---
 meta/recipes-devtools/gdb/gdb_7.11.bb | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.9.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox

Patch

diff --git a/meta/recipes-devtools/gdb/gdb_7.11.bb b/meta/recipes-devtools/gdb/gdb_7.11.bb
index f02e643..57cffc9 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