summaryrefslogtreecommitdiff
path: root/llvm-core
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-19 08:42:19 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-19 08:43:12 +0200
commite5ca18b7abeae63ff4169b340f29bb7e02791e0a (patch)
tree6285d418866eaf87ecefe8ca2a9b54e6a6fd523f /llvm-core
parent64ceefebcdefb34eb53b5441c67ac762755df437 (diff)
downloadgentoo-e5ca18b7abeae63ff4169b340f29bb7e02791e0a.tar.gz
gentoo-e5ca18b7abeae63ff4169b340f29bb7e02791e0a.tar.bz2
gentoo-e5ca18b7abeae63ff4169b340f29bb7e02791e0a.zip
llvm-core/llvmgold: Add 22
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'llvm-core')
-rw-r--r--llvm-core/llvmgold/llvmgold-22.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/llvm-core/llvmgold/llvmgold-22.ebuild b/llvm-core/llvmgold/llvmgold-22.ebuild
new file mode 100644
index 000000000000..b1358113bb70
--- /dev/null
+++ b/llvm-core/llvmgold/llvmgold-22.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="LLVMgold plugin symlink for autoloading"
+HOMEPAGE="https://llvm.org/"
+S=${WORKDIR}
+
+LICENSE="public-domain"
+SLOT="0"
+
+RDEPEND="
+ llvm-core/llvm:${PV}[binutils-plugin]
+ !llvm-core/llvm:0
+"
+
+src_install() {
+ dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins"
+ dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \
+ "/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so"
+}