From d164b4dbcbba4dd7db4c4257e6cd876026c2e7eb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 May 2016 10:35:24 -0700 Subject: libunwind: Upgrade to 1.2rc1+ This helps in compiling with gcc6 drop patches backported to 1.1 remove musl conditional patches, they should work on glibc too now Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-support/libunwind/libunwind_git.bb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/recipes-support/libunwind/libunwind_git.bb (limited to 'meta/recipes-support/libunwind/libunwind_git.bb') diff --git a/meta/recipes-support/libunwind/libunwind_git.bb b/meta/recipes-support/libunwind/libunwind_git.bb new file mode 100644 index 0000000000..0949a3277c --- /dev/null +++ b/meta/recipes-support/libunwind/libunwind_git.bb @@ -0,0 +1,25 @@ +require libunwind.inc + +PV = "1.1+git${SRCPV}" + +SRCREV = "bc8698fd7ed13a629a8ec3cb2a89bd74f9d8b5c0" + +SRC_URI = "git://git.sv.gnu.org/libunwind.git \ + 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 \ +" + +EXTRA_OECONF_append_libc-musl = " --disable-documentation" + +# http://errors.yoctoproject.org/Errors/Details/20487/ +ARM_INSTRUCTION_SET_armv4 = "arm" +ARM_INSTRUCTION_SET_armv5 = "arm" + +# see https://sourceware.org/bugzilla/show_bug.cgi?id=19987 +SECURITY_CFLAGS_remove_aarch64 = "-fpie" +SECURITY_CFLAGS_append_aarch64 = " -fPIE" + +S = "${WORKDIR}/git" + -- cgit 1.2.3-korg