summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-20 11:59:49 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-21 14:49:42 +0100
commitd48a57279312cf95370fa72927fb50df6bfde44f (patch)
treec04eb47302d3931abb361dd1890d527f3780610b /meta
parent9cdf8be1b84d99b7afb94c30c77d98ec53ce0cd1 (diff)
downloadpoky-d48a57279312cf95370fa72927fb50df6bfde44f.tar.gz
gdb: Alias rpl_stat to stat() on musl
Use CPPFLAGS instead of CFLAGS since there is C++ compiler being used for somefiles Fixes gdb/gdbserver/../../../gdb-8.1.1/gdb/gdbserver/../common/common-utils.c:419: undefined reference to `rpl_stat' | collect2: error: ld returned 1 exit status | make[4]: *** [Makefile:414: libinproctrace.so] Error 1 (From OE-Core rev: d6806b449ba8b44fd74dfb05c65b9233b6f3ace5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gdb/gdb_8.1.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb_8.1.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.1.bb
index 84ab08ce93..c6eac84dd8 100644
--- a/meta/recipes-devtools/gdb/gdb_8.1.1.bb
+++ b/meta/recipes-devtools/gdb/gdb_8.1.1.bb
@@ -26,4 +26,4 @@ EOF
26 chmod +x ${WORKDIR}/python 26 chmod +x ${WORKDIR}/python
27 fi 27 fi
28} 28}
29CFLAGS_append_libc-musl = " -Drpl_gettimeofday=gettimeofday" 29CPPFLAGS_append_libc-musl = " -Drpl_gettimeofday=gettimeofday -Drpl_stat=stat"