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
1 changed files with 2 additions and 1 deletions
|
@ -408,7 +408,8 @@ zephyr_compile_options(${COMPILER_OPT_AS_LIST})
|
||||||
# TODO: Include arch compiler options at this point.
|
# TODO: Include arch compiler options at this point.
|
||||||
|
|
||||||
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang" AND
|
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
|
# GCC assumed
|
||||||
zephyr_cc_option(-fno-reorder-functions)
|
zephyr_cc_option(-fno-reorder-functions)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue