zephyr/CMakeLists.txt: Set AR to point to the Zephyr toolchain exe.

This commit is contained in:
Damiano Mazzella 2019-04-06 23:24:55 +02:00 committed by Damien George
parent fc9f2ff0cd
commit 3c9f78b048
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ zephyr_get_compile_options_for_lang_as_string(C options)
add_custom_target(
outputexports
COMMAND echo CC="${CMAKE_C_COMPILER}"
COMMAND echo AR="${CMAKE_AR}"
COMMAND echo Z_CFLAGS=${system_includes} ${includes} ${definitions} ${options}
VERBATIM
USES_TERMINAL