mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
libunwind: We set -fPIE in security flags now if gcc is not configured for default PIE
(From OE-Core rev: 24755afceb38530215a59d53f37df31ca77b0b6e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -21,8 +21,4 @@ EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests "
|
||||
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"
|
||||
|
||||
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
|
||||
|
||||
Reference in New Issue
Block a user