Skip to content

Commit

Permalink
arm/clang: clang must depends on the implementation of the math library
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
anchao authored and pussuw committed Dec 19, 2023
1 parent b092ebd commit 0adf878
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0adf878

Please sign in to comment.