summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-15 20:37:00 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-15 20:41:46 +0200
commit49cd7dc43b27f291b4c82373ee6ebf28ce4ff8ee (patch)
tree6737559863fa7305e2d0d401b333c0e0f206260f
parentsys-devel/clang-runtime: Add 12.0.0.9999 for master branch (diff)
downloadgentoo-49cd7dc43b27f291b4c82373ee6ebf28ce4ff8ee.tar.gz
gentoo-49cd7dc43b27f291b4c82373ee6ebf28ce4ff8ee.tar.bz2
gentoo-49cd7dc43b27f291b4c82373ee6ebf28ce4ff8ee.zip
sys-devel/llvmgold: Bump to 12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sys-devel/llvmgold/llvmgold-12.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-devel/llvmgold/llvmgold-12.ebuild b/sys-devel/llvmgold/llvmgold-12.ebuild
new file mode 100644
index 000000000000..7b4af30ab553
--- /dev/null
+++ b/sys-devel/llvmgold/llvmgold-12.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="LLVMgold plugin symlink for autoloading"
+HOMEPAGE="https://llvm.org/"
+SRC_URI=""
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+PROPERTIES="live"
+
+RDEPEND="sys-devel/llvm:${PV}[gold]
+ !sys-devel/llvm:0"
+
+S=${WORKDIR}
+
+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"
+}