diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-07-29 15:28:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-04 15:22:21 +0100 |
commit | a09a7b71cef054d86feb3de1ae394515929ded3d (patch) | |
tree | f0dab487d045f3e43ad18e41d7674ca963648f7d | |
parent | 76fc5ab81db5c185d881a90f31693ef3458a82ef (diff) | |
download | poky-a09a7b71cef054d86feb3de1ae394515929ded3d.tar.gz |
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 <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gdb/gdb_7.11.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
3 | 3 | ||
4 | inherit python3-dir | 4 | inherit python3-dir |
5 | 5 | ||
6 | EXTRA_OEMAKE_append_libc-musl = "\ | ||
7 | gt_cv_func_gnugettext1_libc=yes \ | ||
8 | gt_cv_func_gnugettext2_libc=yes \ | ||
9 | " | ||
10 | |||
6 | do_configure_prepend() { | 11 | do_configure_prepend() { |
7 | if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then | 12 | if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then |
8 | cat > ${WORKDIR}/python << EOF | 13 | cat > ${WORKDIR}/python << EOF |