summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunwind
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-13 19:18:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:33:58 +0100
commit24755afceb38530215a59d53f37df31ca77b0b6e (patch)
tree0c0a31983da832da0e8b2ee93085af0edf5b5666 /meta/recipes-support/libunwind
parent39c00c7c42fe7e555eb65ea7c01bfc9cb8a34514 (diff)
downloadopenembedded-core-24755afceb38530215a59d53f37df31ca77b0b6e.tar.gz
openembedded-core-24755afceb38530215a59d53f37df31ca77b0b6e.tar.bz2
openembedded-core-24755afceb38530215a59d53f37df31ca77b0b6e.zip
libunwind: We set -fPIE in security flags now if gcc is not configured for default PIE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-support/libunwind')
-rw-r--r--meta/recipes-support/libunwind/libunwind_1.2.bb4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-support/libunwind/libunwind_1.2.bb b/meta/recipes-support/libunwind/libunwind_1.2.bb
index e598e40c6f..c6312f24fd 100644
--- a/meta/recipes-support/libunwind/libunwind_1.2.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.2.bb
@@ -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)}"