Skip to content

Commit 5339c2a

Browse files
committed
cmake: llvm: fix --config param
This fixes 'error: unknown argument: '--config/home/ncs/toolchains/86896046f0/opt/zephyr-sdk/cmake/zephyr/llvm/clang_compiler_rt.cfg Signed-off-by: Sebastian Wezel <[email protected]>
1 parent 23ac622 commit 5339c2a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cmake/zephyr/llvm/target.cmake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,5 @@ if(DEFINED triple)
3737
unset(triple)
3838
endif()
3939

40-
list(APPEND TOOLCHAIN_C_FLAGS --config
41-
${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr/llvm/clang_compiler_rt.cfg)
42-
list(APPEND TOOLCHAIN_LD_FLAGS --config
43-
${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr/llvm/clang_compiler_rt.cfg)
40+
list(APPEND TOOLCHAIN_C_FLAGS "--config=${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr/llvm/clang_compiler_rt.cfg")
41+
list(APPEND TOOLCHAIN_LD_FLAGS "--config=${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr/llvm/clang_compiler_rt.cfg")

0 commit comments

Comments
 (0)