mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
gcc driver is fixed to pass correct options to linker to do secure plt linking when enabled. however this option --secure-plt is not supported by gold linker which is now passed by default from gcc driver. Hence the build fails when using gold. Therefore when we use gold then we do not use secure plt (From OE-Core rev: 1fcb1b91fae0646baf243d686fc6a52b97a53005) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.0 KiB
PHP
33 lines
1.0 KiB
PHP
SUMMARY = "Library for obtaining the call-chain of a program"
|
|
DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
|
|
HOMEPAGE = "http://www.nongnu.org/libunwind"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
|
|
DEPENDS += "libatomic-ops"
|
|
|
|
SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
|
|
|
|
inherit autotools
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz"
|
|
|
|
EXTRA_OECONF_arm = "--enable-debug-frame"
|
|
EXTRA_OECONF_aarch64 = "--enable-debug-frame"
|
|
|
|
CFLAGS += "${ATOMICOPS}"
|
|
ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1"
|
|
ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1"
|
|
ATOMICOPS ?= ""
|
|
|
|
LDFLAGS_append_x86 = " -fuse-ld=gold"
|
|
LDFLAGS_append_x86-64 = " -fuse-ld=gold"
|
|
|
|
LDFLAGS_append_arm = " -fuse-ld=gold"
|
|
LDFLAGS_append_aarch64 = " -fuse-ld=gold"
|
|
|
|
LDFLAGS_append_powerpc = " -fuse-ld=gold -mbss-plt"
|
|
LDFLAGS_append_powerpc64 = " -fuse-ld=gold -mbss-plt"
|
|
|
|
BBCLASSEXTEND = "native"
|