blob: 6660af22c55590043e2cab8f4dc751d375596f24 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
2HOMEPAGE = "http://www.nongnu.org/libunwind"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
5DEPENDS += "libatomic-ops"
6
7SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
8
9inherit autotools
10
11PACKAGECONFIG ??= ""
12PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz"
13
14EXTRA_OECONF_arm = "--enable-debug-frame"
15EXTRA_OECONF_aarch64 = "--enable-debug-frame"
16
17CFLAGS += "${ATOMICOPS}"
18ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1"
19ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1"
20ATOMICOPS ?= ""
21
22LDFLAGS_append_x86 = " -fuse-ld=gold"
23LDFLAGS_append_x86-64 = " -fuse-ld=gold"
24
25LDFLAGS_append_arm = " -fuse-ld=gold"
26LDFLAGS_append_aarch64 = " -fuse-ld=gold"
27
28LDFLAGS_append_powerpc = " -fuse-ld=gold"
29LDFLAGS_append_powerpc64 = " -fuse-ld=gold"
30
31BBCLASSEXTEND = "native"