summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-06 18:37:53 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-06 18:38:19 +0100
commit6920f4fe5297d107a3317b96013a390ee5c522b1 (patch)
treecb6cc9997f349d31b405f6eea9485b3ca223509e /sys-devel/llvmgold
parentdev-util/rocm-clang-ocl: OpenCL compilation with clang compiler. (diff)
downloadgentoo-6920f4fe5297d107a3317b96013a390ee5c522b1.tar.gz
gentoo-6920f4fe5297d107a3317b96013a390ee5c522b1.tar.bz2
gentoo-6920f4fe5297d107a3317b96013a390ee5c522b1.zip
sys-devel/llvmgold: Fix USE-deps on llvm
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/llvmgold')
-rw-r--r--sys-devel/llvmgold/llvmgold-13-r1.ebuild (renamed from sys-devel/llvmgold/llvmgold-13.ebuild)6
-rw-r--r--sys-devel/llvmgold/llvmgold-14.ebuild2
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-devel/llvmgold/llvmgold-13.ebuild b/sys-devel/llvmgold/llvmgold-13-r1.ebuild
index 9903918a067f..02399980c9b9 100644
--- a/sys-devel/llvmgold/llvmgold-13.ebuild
+++ b/sys-devel/llvmgold/llvmgold-13-r1.ebuild
@@ -11,7 +11,11 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc64 ~riscv ~x86 ~amd64-linux"
-RDEPEND="sys-devel/llvm:${PV}[gold]
+RDEPEND="
+ || (
+ sys-devel/llvm:${PV}[binutils-plugin(-)]
+ sys-devel/llvm:${PV}[gold(-)]
+ )
!sys-devel/llvm:0"
S=${WORKDIR}
diff --git a/sys-devel/llvmgold/llvmgold-14.ebuild b/sys-devel/llvmgold/llvmgold-14.ebuild
index adb4ec55f055..314063f9db83 100644
--- a/sys-devel/llvmgold/llvmgold-14.ebuild
+++ b/sys-devel/llvmgold/llvmgold-14.ebuild
@@ -13,7 +13,7 @@ KEYWORDS=""
IUSE=""
PROPERTIES="live"
-RDEPEND="sys-devel/llvm:${PV}[gold]
+RDEPEND="sys-devel/llvm:${PV}[binutils-plugin]
!sys-devel/llvm:0"
S=${WORKDIR}