mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-21 11:27:30 +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}" \
|
BINDIR="${bindir}" \
|
||||||
LIBDIR="${libdir}" \
|
LIBDIR="${libdir}" \
|
||||||
"
|
"
|
||||||
|
SECURITY_LDFLAGS_remove_pn-${BPN} = "-fstack-protector-strong"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
oe_runmake install DESTDIR="${D}"
|
oe_runmake install DESTDIR="${D}"
|
||||||
|
|||||||
Reference in New Issue
Block a user