diff mbox series

[2/3] arm-bsp/trusted-services: corstone1000: fix compilation issues

Message ID 20240628133145.1444437-3-harsimransingh.tungal@arm.com
State New
Headers show
Series arm-bsp/u-boot: corstone1000: fix U-Boot, Trusted-Services, and ts-newlib compilation issue | expand

Commit Message

harsimransingh.tungal@arm.com June 28, 2024, 1:31 p.m. UTC
From: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>

Fix compilation issues with newer GCC version 14.1 for Trusted-Services
patches by disabling some GCC flags for now.
This is just to unblock the meta-arm master compilation issues.

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
---
 .../recipes-security/trusted-services/ts-arm-platforms.inc     | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc b/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc
index 837f6871..f67d5f62 100644
--- a/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc
+++ b/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc
@@ -22,5 +22,8 @@  SRC_URI:append:corstone1000  = " \
     file://0018-Change-RSS_COMMS-cmake-variables-to-cahce-vars.patch \
     "
 
+# The patches above introduce errors with GCC 14.1, silence them for now
+CFLAGS:append:corstone1000 = " -Wno-int-conversion -Wno-implicit-function-declaration"
+
 COMPATIBLE_MACHINE:fvp-base = "fvp-base"
 TS_PLATFORM:fvp-base = "arm/fvp/fvp_base_revc-2xaemv8a"