1# First step is to inherit all properties from gcc, as clang is compatible with most flags. 2include(${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake) 3 4# Required ASM flags when using armclang, this should be handled by CMake, but 5# fails because of: https://gitlab.kitware.com/cmake/cmake/-/issues/19963 6set_property(TARGET asm APPEND PROPERTY required "--target=${triple}") 7 8# Only the ARM Compiler C library is currently supported. 9set_compiler_property(PROPERTY nostdinc) 10 11# Remove after testing that -Wshadow works 12set_compiler_property(PROPERTY warning_shadow_variables) 13