[oe-commits] [meta-openembedded] 28/34: libexecinfo: fix complie issue

git at git.openembedded.org git at git.openembedded.org
Sat Sep 2 06:49:56 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 109e1e23616f50c0b54039baf8167e390196876a
Author: Armin Kuster <akuster808 at gmail.com>
AuthorDate: Thu Aug 31 22:28:39 2017 -0700

    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) {
    
    V2: Merged two CFLAGS lines into one.
    
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb b/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb
index f79b1ab..d4bad38 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list