mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 18:12:33 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user