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:
chao an 2023-11-29 13:27:07 +08:00 committed by Xiang Xiao
parent 0bf9e5eb8d
commit 88dd492e4d

View File

@ -40,6 +40,7 @@ config ARM_TOOLCHAIN_GNU_OABI
config ARM_TOOLCHAIN_CLANG
bool "LLVM Clang toolchain"
depends on !LIBM_TOOLCHAIN
select ARCH_TOOLCHAIN_CLANG
config ARM_TOOLCHAIN_ARMCLANG