# Copyright (c) 2023 The ChromiumOS Authors | |
# SPDX-License-Identifier: Apache-2.0 | |
config COMPILER_RT_SUPPORTED | |
bool | |
default y | |
depends on "${ZEPHYR_TOOLCHAIN_VARIANT}" = "llvm" | |
help | |
Selected when the compiler supports compiler-rt runtime library. | |
choice RTLIB_IMPLEMENTATION | |
prompt "Runtime library implementation" | |
default LIBGCC_RTLIB | |
config LIBGCC_RTLIB | |
bool "GNU Libgcc" | |
help | |
Use libgcc as a runtime library. | |
config COMPILER_RT_RTLIB | |
bool "LLVM compiler-rt" | |
depends on COMPILER_RT_SUPPORTED | |
help | |
Use LLVM compiler-rt as a runtime library. | |
endchoice |