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:
Jia Zhang
2018-09-17 09:31:13 -04:00
parent b3f12e7803
commit 74af5e3644

View File

@@ -39,6 +39,7 @@ EXTRA_OEMAKE = "\
EXTRA_CFLAGS="${CFLAGS}" \ EXTRA_CFLAGS="${CFLAGS}" \
EXTRA_LDFLAGS="${LDFLAGS}" \ EXTRA_LDFLAGS="${LDFLAGS}" \
" "
SECURITY_LDFLAGS_remove_pn-${BPN} = "-fstack-protector-strong"
PARALLEL_MAKE = "" PARALLEL_MAKE = ""