mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-07 02:08:20 +00:00
cryptfs-tpm2: 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 = "\
|
||||
EXTRA_CFLAGS="${CFLAGS}" \
|
||||
EXTRA_LDFLAGS="${LDFLAGS}" \
|
||||
"
|
||||
SECURITY_LDFLAGS_remove_pn-${BPN} = "-fstack-protector-strong"
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user