mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
defaults for gcc is to use -fno-common this ensures that it keeps building with gcc -fno-common Fixes src/arm/Ginit.c:60: multiple definition of `_U_dyn_info_list'; mi/.libs/dyn-info-list.o:/usr/src/debug/libunwind/1.4.0-r0/build/src/../../libunwind-1.4.0/src/mi/dyn-info-list.c:28: first defined here (From OE-Core rev: 6cd2cf6525bcb241b3a2538e559fcef2a2084a7e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
1.2 KiB
BlitzBasic
27 lines
1.2 KiB
BlitzBasic
require libunwind.inc
|
|
|
|
SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV}.tar.gz \
|
|
file://0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch \
|
|
file://0002-backtrace-Use-only-with-glibc-and-uclibc.patch \
|
|
file://0003-x86-Stub-out-x86_local_resume.patch \
|
|
file://0004-Fix-build-on-mips-musl.patch \
|
|
file://0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \
|
|
file://0006-Fix-for-X32.patch \
|
|
file://sigset_t.patch \
|
|
file://0001-Fix-compilation-with-fno-common.patch \
|
|
"
|
|
SRC_URI_append_libc-musl = " file://musl-header-conflict.patch"
|
|
|
|
SRC_URI[md5sum] = "5114504c74ac3992ac06aa551cd55678"
|
|
SRC_URI[sha256sum] = "df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435"
|
|
|
|
EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests --enable-static"
|
|
|
|
# http://errors.yoctoproject.org/Errors/Details/20487/
|
|
ARM_INSTRUCTION_SET_armv4 = "arm"
|
|
ARM_INSTRUCTION_SET_armv5 = "arm"
|
|
|
|
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
|
|
|
|
SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared"
|