toolchain: Add ARMClang to gcc related toolchain flags check
Add ARMClang similar to LLVM to check to skip GCC specific flags Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
parent
86e1740cfc
commit
9f8913c4e0
|
@ -408,7 +408,8 @@ zephyr_compile_options(${COMPILER_OPT_AS_LIST})
|
|||
# TODO: Include arch compiler options at this point.
|
||||
|
||||
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang" AND
|
||||
NOT CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM")
|
||||
NOT CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM" AND
|
||||
NOT CMAKE_C_COMPILER_ID STREQUAL "ARMClang")
|
||||
# GCC assumed
|
||||
zephyr_cc_option(-fno-reorder-functions)
|
||||
|
||||
|
|
Loading…
Reference in a new issue