aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunwind/libunwind_1.2.bb
blob: c6312f24fdfdc04af16e957c7c00bf5b17c59fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require libunwind.inc

SRC_URI[md5sum] = "eefcb5d7f78fdc8f1ed172a26ea4202f"
SRC_URI[sha256sum] = "1de38ffbdc88bd694d10081865871cd2bfbb02ad8ef9e1606aee18d65532b992"

SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV}.tar.gz \
           file://Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch \
           file://0001-backtrace-Use-only-with-glibc-and-uclibc.patch \
           file://0001-x86-Stub-out-x86_local_resume.patch \
           file://0001-Fix-build-on-mips-musl.patch \
           file://0001-add-knobs-to-disable-enable-tests.patch \
           file://0001-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \
           file://libunwind-1.1-x32.patch \
           file://fix-mips.patch \
           "

SRC_URI_append_libc-musl = " file://musl-header-conflict.patch"
EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests "

# http://errors.yoctoproject.org/Errors/Details/20487/
ARM_INSTRUCTION_SET_armv4 = "arm"
ARM_INSTRUCTION_SET_armv5 = "arm"

LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"