From 74af5e364470df8793c4110f5f2c3b9bd3337fd2 Mon Sep 17 00:00:00 2001 From: Jia Zhang Date: Mon, 17 Sep 2018 09:31:13 -0400 Subject: 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 --- meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | 1 + 1 file changed, 1 insertion(+) 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 = "\ EXTRA_CFLAGS="${CFLAGS}" \ EXTRA_LDFLAGS="${LDFLAGS}" \ " +SECURITY_LDFLAGS_remove_pn-${BPN} = "-fstack-protector-strong" PARALLEL_MAKE = "" -- cgit v1.2.3-54-g00ecf