Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 1 | From 961d2e3718e9e6d652cadf5b4d3597cfe822dd04 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ali Can Ozaslan <ali.oezaslan@arm.com> |
| 3 | Date: Wed, 24 Jan 2024 16:10:08 +0000 |
| 4 | Subject: [PATCH] arm/trusted-firmware-m: disable address warnings into an |
| 5 | error |
| 6 | |
| 7 | Signed-off-by: Emekcan Aras <emekcan.aras@arm.com> |
| 8 | Signed-off-by: Ali Can Ozaslan <ali.oezaslan@arm.com> |
| 9 | Upstream-Status: Inappropriate |
| 10 | |
| 11 | --- |
| 12 | toolchain_GNUARM.cmake | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/toolchain_GNUARM.cmake b/toolchain_GNUARM.cmake |
| 16 | index 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 |