mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-devel/llvmgold: Add v7 for git master
This commit is contained in:
24
sys-devel/llvmgold/llvmgold-7.ebuild
Normal file
24
sys-devel/llvmgold/llvmgold-7.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="LLVMgold plugin symlink for autoloading"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user