summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-02-15 09:47:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-16 09:04:22 +0000
commit6db39e1f1e6d032176bbef6dd11e1a720d8410da (patch)
treef318d32d60bd6eb1c0ee57fa3d00f6b056655483 /meta/recipes-support
parent47896a7e685a692c82d58d52fd97ef7885b1738d (diff)
downloadpoky-6db39e1f1e6d032176bbef6dd11e1a720d8410da.tar.gz
libunwind: Fix build on ppc
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libunwind/libunwind.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
index 068858b2d8..f83614bf5c 100644
--- a/meta/recipes-support/libunwind/libunwind.inc
+++ b/meta/recipes-support/libunwind/libunwind.inc
@@ -26,7 +26,7 @@ LDFLAGS_append_x86-64 = " -fuse-ld=gold"
26LDFLAGS_append_arm = " -fuse-ld=gold" 26LDFLAGS_append_arm = " -fuse-ld=gold"
27LDFLAGS_append_aarch64 = " -fuse-ld=gold" 27LDFLAGS_append_aarch64 = " -fuse-ld=gold"
28 28
29LDFLAGS_append_powerpc = " -fuse-ld=gold" 29LDFLAGS_append_powerpc = " -fuse-ld=gold -mbss-plt"
30LDFLAGS_append_powerpc64 = " -fuse-ld=gold" 30LDFLAGS_append_powerpc64 = " -fuse-ld=gold -mbss-plt"
31 31
32BBCLASSEXTEND = "native" 32BBCLASSEXTEND = "native"