This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 88dd492e4dae1fcf2f1d441586ec9a47a909701d
Author: chao an <anc...@xiaomi.com>
AuthorDate: Wed Nov 29 13:27:07 2023 +0800

    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 <anc...@xiaomi.com>
---
 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

Reply via email to