summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-1.86.0.ebuild
diff options
context:
space:
mode:
authorZ. Liu <zhixu.liu@gmail.com>2025-04-10 11:44:05 +0000
committerSam James <sam@gentoo.org>2025-04-10 15:26:50 +0100
commit6106eb119ee77a916c9c47f5055e1bba06cf176d (patch)
tree91901f66b25600a47e02d67d5e087cf5a9ea0d9e /dev-lang/rust/rust-1.86.0.ebuild
parent15a1fcd97f44599319b17b8ef0ddc7137838200c (diff)
downloadgentoo-6106eb119ee77a916c9c47f5055e1bba06cf176d.tar.gz
gentoo-6106eb119ee77a916c9c47f5055e1bba06cf176d.tar.bz2
gentoo-6106eb119ee77a916c9c47f5055e1bba06cf176d.zip
dev-lag/rust: require lld only if USE="lto system-llvm"
Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/41523 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/rust/rust-1.86.0.ebuild')
-rw-r--r--dev-lang/rust/rust-1.86.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.86.0.ebuild b/dev-lang/rust/rust-1.86.0.ebuild
index 41f407880eb4..084e4f9e03f5 100644
--- a/dev-lang/rust/rust-1.86.0.ebuild
+++ b/dev-lang/rust/rust-1.86.0.ebuild
@@ -94,7 +94,7 @@ BDEPEND="${PYTHON_DEPS}
>=sys-devel/gcc-4.7[cxx]
>=llvm-core/clang-3.5
)
- lto? ( $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}') )
+ lto? ( system-llvm? ( $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}') ) )
!system-llvm? (
>=dev-build/cmake-3.13.4
app-alternatives/ninja