blob: 5e4693e2057b2d1d8c81500d9e0c0d2d3f6c3998 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001require libunwind.inc
2
3SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV}.tar.gz \
4 file://0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch \
Brad Bishop19323692019-04-05 15:28:33 -04005 file://0003-x86-Stub-out-x86_local_resume.patch \
6 file://0004-Fix-build-on-mips-musl.patch \
7 file://0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \
8 file://0006-Fix-for-X32.patch \
9 "
10SRC_URI_append_libc-musl = " file://musl-header-conflict.patch"
11
Andrew Geissler6ce62a22020-11-30 19:58:47 -060012SRC_URI[md5sum] = "c6923dda0675f6a4ef21426164dc8b6a"
13SRC_URI[sha256sum] = "90337653d92d4a13de590781371c604f9031cdb50520366aa1e3a91e1efb1017"
Brad Bishop19323692019-04-05 15:28:33 -040014
15EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests --enable-static"
16
17# http://errors.yoctoproject.org/Errors/Details/20487/
18ARM_INSTRUCTION_SET_armv4 = "arm"
19ARM_INSTRUCTION_SET_armv5 = "arm"
20
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060021COMPATIBLE_HOST_riscv64 = "null"
22COMPATIBLE_HOST_riscv32 = "null"
23
Brad Bishop19323692019-04-05 15:28:33 -040024LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
25
26SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared"