aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2017-08-13 09:24:20 -0700
committerArmin Kuster <akuster808@gmail.com>2017-08-31 15:10:56 -0700
commitc5f0c0501e09afe5b370605283001b44f3479f70 (patch)
tree3f316c38736a31bc67fd2bdcd6afd30bbe60047c
parent43394ae40528da5b0a60ec46916f79a8fbb2da1c (diff)
downloadmeta-openembedded-contrib-akuster/master.tar.gz
meta-openembedded-contrib-akuster/master.tar.bz2
meta-openembedded-contrib-akuster/master.zip
libexecinfo: fix complie issueakuster/master
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>
-rw-r--r--meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb b/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb
index f79b1ab180..d4bad38b7a 100644
--- a/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb
+++ b/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb
@@ -15,7 +15,7 @@ SRC_URI = "http://distcache.freebsd.org/local-distfiles/itetcu/${BP}.tar.bz2 \
SRC_URI[md5sum] = "8e9e81c554c1c5d735bc877448e92b91"
SRC_URI[sha256sum] = "c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f"
-CFLAGS += "-fno-omit-frame-pointer"
+CFLAGS += "-fno-omit-frame-pointer -D_GNU_SOURCE"
do_install() {
install -D -m 0744 ${S}/execinfo.h ${D}${includedir}/execinfo.h