From: Ronan Date: Mon, 9 Jan 2017 07:34:23 +0000 (+0100) Subject: fix build with gcc6 X-Git-Tag: 3.99.1~218 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fchanges%2F49%2F8149%2F2;p=AGL%2Fmeta-agl.git fix build with gcc6 Change-Id: I1ce6a5f4fb2d04962234d4b2f9bcfe92140cccc9 Signed-off-by: Ronan --- 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 \ "