From 0adf878d51190a6af0fc77e1d7f43f1e67ab9c4a 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 b43121be9500a..0103149d633ba 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