summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-1.85.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/rust/rust-1.85.0.ebuild')
-rw-r--r--dev-lang/rust/rust-1.85.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.85.0.ebuild b/dev-lang/rust/rust-1.85.0.ebuild
index 88b742cc5112..cdcb5e650413 100644
--- a/dev-lang/rust/rust-1.85.0.ebuild
+++ b/dev-lang/rust/rust-1.85.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