Skip to content

Commit daea4b1

Browse files
committed
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>
1 parent 5bae28b commit daea4b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ config ARM_TOOLCHAIN_GNU_OABI
4040

4141
config ARM_TOOLCHAIN_CLANG
4242
bool "LLVM Clang toolchain"
43+
depends on !LIBM_TOOLCHAIN && !LIBM_NONE
4344
select ARCH_TOOLCHAIN_CLANG
4445

4546
config ARM_TOOLCHAIN_ARMCLANG

0 commit comments

Comments
 (0)