libsign: Fix build faiure due to -fstack-protector-strong

SECURITY_LDFLAGS includes -fstack-protector-strong which cannot work
with CCLD. To work around this issue, filter out it from LDFLAGS.

Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
This commit is contained in:
Jia Zhang
2018-09-17 21:36:44 -04:00
parent be735c09cb
commit f450605d48
@@ -39,6 +39,7 @@ EXTRA_OEMAKE = "\
BINDIR="${bindir}" \
LIBDIR="${libdir}" \
"
SECURITY_LDFLAGS_remove_pn-${BPN} = "-fstack-protector-strong"
do_install() {
oe_runmake install DESTDIR="${D}"