blob: 2193bd8315aab7cc9825e22a39efe78bc95d9f59 [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 \
5 file://0002-backtrace-Use-only-with-glibc-and-uclibc.patch \
6 file://0003-x86-Stub-out-x86_local_resume.patch \
7 file://0004-Fix-build-on-mips-musl.patch \
8 file://0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \
9 file://0006-Fix-for-X32.patch \
Andrew Geissler5a43b432020-06-13 10:46:56 -050010 file://sigset_t.patch \
Andrew Geissler635e0e42020-08-21 15:58:33 -050011 file://0001-Fix-compilation-with-fno-common.patch \
Brad Bishop19323692019-04-05 15:28:33 -040012 "
13SRC_URI_append_libc-musl = " file://musl-header-conflict.patch"
14
Andrew Geissler4ed12e12020-06-05 18:00:41 -050015SRC_URI[md5sum] = "5114504c74ac3992ac06aa551cd55678"
16SRC_URI[sha256sum] = "df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435"
Brad Bishop19323692019-04-05 15:28:33 -040017
18EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests --enable-static"
19
20# http://errors.yoctoproject.org/Errors/Details/20487/
21ARM_INSTRUCTION_SET_armv4 = "arm"
22ARM_INSTRUCTION_SET_armv5 = "arm"
23
24LDFLAGS += "-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"