diff options
author | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-09-17 09:31:13 -0400 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-09-17 09:31:31 -0400 |
commit | 74af5e364470df8793c4110f5f2c3b9bd3337fd2 (patch) | |
tree | 24e10e9ce492d86132f82f5d17700760e9c7798f | |
parent | b3f12e7803ff2acd48b0d450de3325792cf73134 (diff) | |
download | meta-secure-core-74af5e364470df8793c4110f5f2c3b9bd3337fd2.tar.gz |
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>
-rw-r--r-- | meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb index 4c7b0fd..e7b436b 100644 --- a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb +++ b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | |||
@@ -39,6 +39,7 @@ EXTRA_OEMAKE = "\ | |||
39 | EXTRA_CFLAGS="${CFLAGS}" \ | 39 | EXTRA_CFLAGS="${CFLAGS}" \ |
40 | EXTRA_LDFLAGS="${LDFLAGS}" \ | 40 | EXTRA_LDFLAGS="${LDFLAGS}" \ |
41 | " | 41 | " |
42 | SECURITY_LDFLAGS_remove_pn-${BPN} = "-fstack-protector-strong" | ||
42 | 43 | ||
43 | PARALLEL_MAKE = "" | 44 | PARALLEL_MAKE = "" |
44 | 45 | ||