From 4a421d9443723ca6835568750a80ffba4b117a16 Mon Sep 17 00:00:00 2001 From: Ronan Date: Mon, 9 Jan 2017 08:34:23 +0100 Subject: fix build with gcc6 Change-Id: I1ce6a5f4fb2d04962234d4b2f9bcfe92140cccc9 Signed-off-by: Ronan --- meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bbappend | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-agl-bsp') diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bbappend index e38c90406..4845dda22 100644 --- a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bbappend +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bbappend @@ -2,6 +2,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" inherit pythonnative DEPENDS += " python-pycrypto-native" +#Need for gcc 6.2 +CFLAGS += " -fno-strict-aliasing -Wno-unused-variable -Wno-shift-negative-value" + SRC_URI += " \ file://0001-disable-libgcc-detection.patch \ " -- cgit 1.2.3-korg