summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-22 05:40:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-22 05:40:04 +0000
commite621d36783ba0760925a62dd23c71495436fe753 (patch)
tree4e93396084f2d3592eb54edd2afd3458594f5f28 /eclass
parent51012ef0261a9da2e4487144906632d06607d3b9 (diff)
gentoo auto-resync : 22:02:2024 - 05:40:04
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39769 -> 39766 bytes
-rw-r--r--eclass/llvm.org.eclass12
2 files changed, 8 insertions, 4 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index dbe6cc33cfbf..a167dd103765 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass
index 25316f0d65e9..de07fecea8e1 100644
--- a/eclass/llvm.org.eclass
+++ b/eclass/llvm.org.eclass
@@ -205,10 +205,14 @@ ALL_LLVM_TARGET_FLAGS=(
# @OUTPUT_VARIABLE
# @DESCRIPTION:
# The current ABI version of LLVM dylib, in a form suitable for use
-# as a subslot. This is equal to LLVM_MAJOR for releases, and to PV
-# for the main branch.
-LLVM_SOABI=${LLVM_MAJOR}
-[[ ${LLVM_MAJOR} == ${_LLVM_MAIN_MAJOR} ]] && LLVM_SOABI=${PV}
+# as a subslot.
+if [[ ${LLVM_MAJOR} == ${_LLVM_MAIN_MAJOR} ]]; then
+ LLVM_SOABI=${PV}
+elif ver_test ${PV} -ge 18.1.0_rc3; then
+ LLVM_SOABI=$(ver_cut 1-2)
+else
+ LLVM_SOABI=${LLVM_MAJOR}
+fi
# == global scope logic ==