arm/clang: clang must depends on the implementation of the math library
Since picolibc used by clang-17 does not provide an implementation of libm, if you want to use clang, please must specify a libm as an option. Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
0bf9e5eb8d
commit
88dd492e4d
@ -40,6 +40,7 @@ config ARM_TOOLCHAIN_GNU_OABI
|
|||||||
|
|
||||||
config ARM_TOOLCHAIN_CLANG
|
config ARM_TOOLCHAIN_CLANG
|
||||||
bool "LLVM Clang toolchain"
|
bool "LLVM Clang toolchain"
|
||||||
|
depends on !LIBM_TOOLCHAIN
|
||||||
select ARCH_TOOLCHAIN_CLANG
|
select ARCH_TOOLCHAIN_CLANG
|
||||||
|
|
||||||
config ARM_TOOLCHAIN_ARMCLANG
|
config ARM_TOOLCHAIN_ARMCLANG
|
||||||
|
Loading…
Reference in New Issue
Block a user