llvm-runtimes/offload: Force linking shared libffi

Closes: https://bugs.gentoo.org/956810
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-14 16:36:02 +02:00
parent a1b5a8ed34
commit 4ea00f16fc
3 changed files with 6 additions and 0 deletions

View File

@@ -106,6 +106,8 @@ src_configure() {
-DFFI_INCLUDE_DIR="${ffi_cflags#-I}"
-DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
# force using shared libffi
-DFFI_STATIC_LIBRARIES=NO
)
[[ ! ${LLVM_ALLOW_GPU_TESTING} ]] && mycmakeargs+=(

View File

@@ -114,6 +114,8 @@ src_configure() {
-DFFI_INCLUDE_DIR="${ffi_cflags#-I}"
-DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
# force using shared libffi
-DFFI_STATIC_LIBRARIES=NO
)
[[ ! ${LLVM_ALLOW_GPU_TESTING} ]] && mycmakeargs+=(

View File

@@ -114,6 +114,8 @@ src_configure() {
-DFFI_INCLUDE_DIR="${ffi_cflags#-I}"
-DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
# force using shared libffi
-DFFI_STATIC_LIBRARIES=NO
)
[[ ! ${LLVM_ALLOW_GPU_TESTING} ]] && mycmakeargs+=(