1From 961d2e3718e9e6d652cadf5b4d3597cfe822dd04 Mon Sep 17 00:00:00 2001
2From: Ali Can Ozaslan <ali.oezaslan@arm.com>
3Date: Wed, 24 Jan 2024 16:10:08 +0000
4Subject: [PATCH] arm/trusted-firmware-m: disable address warnings into an
5 error
6
7Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
8Signed-off-by: Ali Can Ozaslan <ali.oezaslan@arm.com>
9Upstream-Status: Inappropriate
10
11---
12 toolchain_GNUARM.cmake | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/toolchain_GNUARM.cmake b/toolchain_GNUARM.cmake
16index b6ae50ec3..4c2f5b3d7 100644
17--- a/toolchain_GNUARM.cmake
18+++ b/toolchain_GNUARM.cmake
19@@ -111,6 +111,7 @@ add_compile_options(
20     -Wno-format
21     -Wno-return-type
22     -Wno-unused-but-set-variable
23+    -Wno-error=address
24     -c
25     -fdata-sections
26     -ffunction-sections
27