From 88dd492e4dae1fcf2f1d441586ec9a47a909701d Mon Sep 17 00:00:00 2001 From: chao an Date: Wed, 29 Nov 2023 13:27:07 +0800 Subject: [PATCH] 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 --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 00ddc87c0f..4e3279f103 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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