diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-19 18:27:20 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-26 22:49:38 +0000 |
commit | 05e11a59347558a7bbca1bd6e8ada77efe5106ec (patch) | |
tree | 913c6a338621985233ff3dd74416095e7cd8734d /meta/recipes-devtools/gdb/gdb.inc | |
parent | 72c1aa2a6dad711b1e235f4cc6b0ad1c9f8c49cc (diff) | |
download | poky-05e11a59347558a7bbca1bd6e8ada77efe5106ec.tar.gz |
gdb: Fix build failures on musl
mode_t is needed by gdbserver headers so include sys/types.h to get them
(From OE-Core rev: b0742a41e80c48de98f82f7d1e963d462c941934)
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>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb.inc')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc index e970450fa3..4ea14c19f8 100644 --- a/meta/recipes-devtools/gdb/gdb.inc +++ b/meta/recipes-devtools/gdb/gdb.inc | |||
@@ -5,6 +5,7 @@ inherit gettext | |||
5 | SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \ | 5 | SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \ |
6 | file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ | 6 | file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ |
7 | file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ | 7 | file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ |
8 | file://0001-include-sys-types.h-for-mode_t.patch \ | ||
8 | " | 9 | " |
9 | #LDFLAGS_append = " -s" | 10 | #LDFLAGS_append = " -s" |
10 | #export CFLAGS_append=" -L${STAGING_LIBDIR}" | 11 | #export CFLAGS_append=" -L${STAGING_LIBDIR}" |