mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 15:06:18 +00:00
libexecinfo: fix complie issue
define _GNU_SOURCES to fix compile issue:
execinfo.c:76:5: error: unknown type name 'Dl_info'
| Dl_info info;
| ^~~~~~~
| execinfo.c:83:13: warning: implicit declaration of function 'dladdr' [-Wimplicit-function-declaration]
| if (dladdr(buffer[i], &info) != 0) {
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
b21475f1c8
commit
792548bce1
@ -16,6 +16,7 @@ SRC_URI[md5sum] = "8e9e81c554c1c5d735bc877448e92b91"
|
|||||||
SRC_URI[sha256sum] = "c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f"
|
SRC_URI[sha256sum] = "c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f"
|
||||||
|
|
||||||
CFLAGS += "-fno-omit-frame-pointer"
|
CFLAGS += "-fno-omit-frame-pointer"
|
||||||
|
CFLAGS += " -D_GNU_SOURCE"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -D -m 0744 ${S}/execinfo.h ${D}${includedir}/execinfo.h
|
install -D -m 0744 ${S}/execinfo.h ${D}${includedir}/execinfo.h
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user