]> code.ossystems Code Review - openembedded-core.git/commitdiff
libunwind: We set -fPIE in security flags now if gcc is not configured for default PIE
authorKhem Raj <raj.khem@gmail.com>
Wed, 14 Jun 2017 02:18:38 +0000 (19:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Jul 2017 12:33:58 +0000 (13:33 +0100)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-support/libunwind/libunwind_1.2.bb

index e598e40c6f9293399cbd02ea0c85bd4452ccd50b..c6312f24fdfdc04af16e957c7c00bf5b17c59fdf 100644 (file)
@@ -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)}"