fix build with gcc6 49/8149/2
authorRonan <ronan.lemartret@iot.bzh>
Mon, 9 Jan 2017 07:34:23 +0000 (08:34 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 10 Jan 2017 19:38:27 +0000 (19:38 +0000)
Change-Id: I1ce6a5f4fb2d04962234d4b2f9bcfe92140cccc9
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bbappend

index e38c904..4845dda 100644 (file)
@@ -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 \
 "