package/llvm-project/compiler-rt: add libxcrypt dependency
When glibc was bumped to version 2.39 in commit
b5680f53d6
it removed the deprecated
libcrypt support.
But compiler-rt package still use crypt.h header and crypt() function
in the sanitizer code.
Use libxcrypt unconditionally since compiler-rt itself already depends
on glibc based toolchain.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6703222513
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
parent
7e126bd38d
commit
23bbec827d
@ -3,6 +3,7 @@ config BR2_PACKAGE_COMPILER_RT
|
||||
depends on BR2_PACKAGE_LLVM
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # asan lib requires
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7 # host-clang
|
||||
select BR2_PACKAGE_LIBXCRYPT
|
||||
help
|
||||
A collection of runtime libraries primarily used by clang and
|
||||
llvm to provide builtins, sanitizer runtimes, and profiling
|
||||
|
@ -10,7 +10,7 @@ COMPILER_RT_SITE = $(LLVM_PROJECT_SITE)
|
||||
COMPILER_RT_LICENSE = NCSA MIT
|
||||
COMPILER_RT_LICENSE_FILES = LICENSE.TXT
|
||||
COMPILER_RT_CPE_ID_VENDOR = llvm
|
||||
COMPILER_RT_DEPENDENCIES = host-clang llvm
|
||||
COMPILER_RT_DEPENDENCIES = host-clang libxcrypt llvm
|
||||
COMPILER_RT_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
COMPILER_RT_INSTALL_STAGING = YES
|
||||
|
Loading…
Reference in New Issue
Block a user