aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThuy Tran <thuy.tran.xh@renesas.com>2018-10-30 16:49:26 +0900
committerDuy Dang <duy.dang.yw@renesas.com>2019-09-23 11:17:12 +0700
commit8518792db02facffa5bde8af2f905ef33fefbbb4 (patch)
treeb63e61871cd48ec09334024e04827fd5fdae491a
parentf1e9f09d0ed2ef3423cb9e85309be85b0c0c130b (diff)
rcar-gen3: optee-client: Remove SECURITY_CFLAGS option
This commit removes SECURITY_CFLAGS option to avoid compile issue: | In file included from tmp/work/h3ulcb-poky-linux/optee-client/3.1.0+renesas+gitAUTOINC+3f16662284-r0/recipe-sysroot/usr/include/errno.h:25, | from src/tee_client_api.c:28: | tmp/work/h3ulcb-poky-linux/optee-client/3.1.0+renesas+gitAUTOINC+3f16662284-r0/recipe-sysroot/usr/include/features.h:382:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ie677ea0d51ce9651a8df70c4b626e556514d2fe8
-rw-r--r--meta-rcar-gen3/recipes-bsp/optee/optee-client_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-bsp/optee/optee-client_git.bb b/meta-rcar-gen3/recipes-bsp/optee/optee-client_git.bb
index 439ea97..0a484e4 100644
--- a/meta-rcar-gen3/recipes-bsp/optee/optee-client_git.bb
+++ b/meta-rcar-gen3/recipes-bsp/optee/optee-client_git.bb
@@ -23,6 +23,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
S = "${WORKDIR}/git"
+# Recipe which fail to compile when enabling _FORTIFY_SOURCE=2 option
+SECURITY_CFLAGS_pn-optee-client = ""
+
EXTRA_OEMAKE = "RPMB_EMU=0"
do_install () {