]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gdb: Alias rpl_stat to stat() on musl
authorKhem Raj <raj.khem@gmail.com>
Mon, 20 Aug 2018 18:59:49 +0000 (11:59 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Aug 2018 13:49:42 +0000 (14:49 +0100)
commitd48a57279312cf95370fa72927fb50df6bfde44f
treec04eb47302d3931abb361dd1890d527f3780610b
parent9cdf8be1b84d99b7afb94c30c77d98ec53ce0cd1
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>
meta/recipes-devtools/gdb/gdb_8.1.1.bb