llvm: use proper syntax for --config option
Use proper --config= syntax instead of --config as the latter can cause issues in some situations. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
11e2c58928
commit
577d47f3f1
1 changed files with 6 additions and 4 deletions
|
|
@ -49,7 +49,9 @@ elseif(CONFIG_COMPILER_RT_RTLIB)
|
|||
set(runtime_lib "compiler_rt")
|
||||
endif()
|
||||
|
||||
list(APPEND TOOLCHAIN_C_FLAGS --config
|
||||
${ZEPHYR_BASE}/cmake/toolchain/llvm/clang_${runtime_lib}.cfg)
|
||||
list(APPEND TOOLCHAIN_LD_FLAGS --config
|
||||
${ZEPHYR_BASE}/cmake/toolchain/llvm/clang_${runtime_lib}.cfg)
|
||||
list(APPEND TOOLCHAIN_C_FLAGS
|
||||
"--config=${ZEPHYR_BASE}/cmake/toolchain/llvm/clang_${runtime_lib}.cfg"
|
||||
)
|
||||
list(APPEND TOOLCHAIN_LD_FLAGS
|
||||
"--config=${ZEPHYR_BASE}/cmake/toolchain/llvm/clang_${runtime_lib}.cfg"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue