mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-15 14:11:56 +00:00
The Xtense xcc compiler now uses the new compiler abstraction. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
8 lines
274 B
CMake
8 lines
274 B
CMake
# No special flags are needed for xcc.
|
|
# Only select whether gcc or clang flags should be inherited.
|
|
if(CC STREQUAL "clang")
|
|
include(${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake)
|
|
else()
|
|
include(${ZEPHYR_BASE}/cmake/compiler/gcc/compiler_flags.cmake)
|
|
endif()
|