1config BR2_PACKAGE_COMPILER_RT
2	bool "compiler-rt"
3	depends on BR2_PACKAGE_LLVM
4	depends on BR2_TOOLCHAIN_USES_GLIBC # asan lib requires
5	depends on BR2_HOST_GCC_AT_LEAST_7 # host-clang
6	select BR2_PACKAGE_LIBXCRYPT
7	help
8	  A collection of runtime libraries primarily used by clang and
9	  llvm to provide builtins, sanitizer runtimes, and profiling
10	  at runtime.
11
12	  https://compiler-rt.llvm.org/
13
14comment "compiler-rt requires llvm to be enabled, a glibc toolchain, host gcc >= 7"
15	depends on !BR2_PACKAGE_LLVM
16	depends on !BR2_TOOLCHAIN_USES_GLIBC ||	!BR2_HOST_GCC_AT_LEAST_7
17