Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "Library for obtaining the call-chain of a program" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program" |
| 3 | HOMEPAGE = "http://www.nongnu.org/libunwind" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5" |
| 6 | DEPENDS += "libatomic-ops" |
| 7 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | inherit autotools |
| 9 | |
| 10 | PACKAGECONFIG ??= "" |
| 11 | PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz" |
| 12 | |
| 13 | EXTRA_OECONF_arm = "--enable-debug-frame" |
| 14 | EXTRA_OECONF_aarch64 = "--enable-debug-frame" |
| 15 | |
| 16 | CFLAGS += "${ATOMICOPS}" |
| 17 | ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" |
| 18 | ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" |
| 19 | ATOMICOPS ?= "" |
| 20 | |
| 21 | LDFLAGS_append_x86 = " -fuse-ld=gold" |
| 22 | LDFLAGS_append_x86-64 = " -fuse-ld=gold" |
| 23 | |
| 24 | LDFLAGS_append_arm = " -fuse-ld=gold" |
| 25 | LDFLAGS_append_aarch64 = " -fuse-ld=gold" |
| 26 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 27 | LDFLAGS_append_powerpc = " -fuse-ld=gold -mbss-plt" |
| 28 | LDFLAGS_append_powerpc64 = " -fuse-ld=gold -mbss-plt" |
| 29 | |
| 30 | SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | |
| 32 | BBCLASSEXTEND = "native" |