aboutsummaryrefslogtreecommitdiff
path: root/cmake/toolchain/armclang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/toolchain/armclang.cmake')
-rw-r--r--cmake/toolchain/armclang.cmake20
1 files changed, 8 insertions, 12 deletions
diff --git a/cmake/toolchain/armclang.cmake b/cmake/toolchain/armclang.cmake
index 3217fbf..f65b9a5 100644
--- a/cmake/toolchain/armclang.cmake
+++ b/cmake/toolchain/armclang.cmake
@@ -73,18 +73,14 @@ add_link_options(
add_compile_options(
-Wall
-Wextra
- -Wsign-compare
- -Wunused
- -Wswitch-default
- -Wformat
+
+ -Wcast-align
-Wdouble-promotion
+ -Wformat
+ -Wmissing-field-initializers
+ -Wnull-dereference
-Wredundant-decls
-Wshadow
- -Wcast-align
- -Wnull-dereference
- -Wno-format-extra-args
- -Wno-unused-function
- -Wno-unused-parameter
- -Wno-unused-label
- -Wno-missing-field-initializers
- -Wno-return-type)
+ -Wswitch-default
+ -Wunused
+)