From 8518792db02facffa5bde8af2f905ef33fefbbb4 Mon Sep 17 00:00:00 2001 From: Thuy Tran Date: Tue, 30 Oct 2018 16:49:26 +0900 Subject: 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 Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda Change-Id: Ie677ea0d51ce9651a8df70c4b626e556514d2fe8 --- meta-rcar-gen3/recipes-bsp/optee/optee-client_git.bb | 3 +++ 1 file changed, 3 insertions(+) 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 () { -- cgit 1.2.3-korg