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>
This commit is contained in:
Khem Raj 2016-02-15 09:47:33 +00:00 committed by Richard Purdie
parent 47896a7e68
commit 6db39e1f1e
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ 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"
LDFLAGS_append_powerpc64 = " -fuse-ld=gold"
LDFLAGS_append_powerpc = " -fuse-ld=gold -mbss-plt"
LDFLAGS_append_powerpc64 = " -fuse-ld=gold -mbss-plt"
BBCLASSEXTEND = "native"