aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2024-04-19 15:22:22 +0200
committerJonny Svärd <jonny.svaerd@arm.com>2024-04-22 15:24:47 +0000
commit54add9847172f9aa64b18e67530973616b32d8ef (patch)
tree44f305300dc6956f64e55cc7f6a793c81fcb9e50
parent39ef89bd41150b76ab6b2634065f2fa656036295 (diff)
downloadethos-u-core-platform-main.tar.gz
armclang: Suppress warnings about unused sectionsHEADmastermain
Not all defined scatter file sections will be used by each example application, by design. So to avoid confusion about unused sections in the build output, add L6314W to the list of warnings to be suppressed. Change-Id: I97b21c3e80cc8528a5207c5e3994a862b5548f9e Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
-rw-r--r--cmake/toolchain/armclang.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/toolchain/armclang.cmake b/cmake/toolchain/armclang.cmake
index 61a8e59..74ff007 100644
--- a/cmake/toolchain/armclang.cmake
+++ b/cmake/toolchain/armclang.cmake
@@ -1,6 +1,5 @@
#
-# Copyright (c) 2020-2022 Arm Limited. All rights reserved.
-#
+# SPDX-FileCopyrightText: Copyright 2020-2022, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
@@ -65,7 +64,7 @@ add_link_options(
--lto
--info common,debug,sizes,totals,veneers,unused
--symbols
- --diag_suppress=L6439W)
+ --diag_suppress=L6439W,L6314W)
# Compilation warnings
add_compile_options(