mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
Apply patch to fix the X32 build from https://github.com/sjnewbury/x32 (From OE-Core rev: cdd6130255d8fc78b0a43fad410cde024cb1b9a5) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1.1 KiB
BlitzBasic
31 lines
1.1 KiB
BlitzBasic
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 \
|
|
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 \
|
|
"
|
|
|
|
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"
|
|
|
|
# see https://sourceware.org/bugzilla/show_bug.cgi?id=19987
|
|
SECURITY_CFLAGS_remove_aarch64 = "-fpie"
|
|
SECURITY_CFLAGS_append_aarch64 = " -fPIE"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
|