mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 12:47:00 +00:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user