blob: e7fb2b21904dab283107be4c2f47dcf0927af341 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001require libunwind.inc
2
3SRC_URI[md5sum] = "06ba9e60d92fd6f55cd9dadb084df19e"
4SRC_URI[sha256sum] = "3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb"
5
6SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV}.tar.gz \
7 file://Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch \
8 file://0001-backtrace-Use-only-with-glibc-and-uclibc.patch \
9 file://0001-x86-Stub-out-x86_local_resume.patch \
10 file://0001-Fix-build-on-mips-musl.patch \
11 file://0001-add-knobs-to-disable-enable-tests.patch \
12 file://0001-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \
13 file://libunwind-1.1-x32.patch \
14 "
15
16SRC_URI_append_libc-musl = " file://musl-header-conflict.patch"
17EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests "
18
19# http://errors.yoctoproject.org/Errors/Details/20487/
20ARM_INSTRUCTION_SET_armv4 = "arm"
21ARM_INSTRUCTION_SET_armv5 = "arm"
22
23LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024
25SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared"