diff options
| author | Z. Liu <zhixu.liu@gmail.com> | 2025-04-10 11:44:05 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-04-10 15:26:50 +0100 |
| commit | 6106eb119ee77a916c9c47f5055e1bba06cf176d (patch) | |
| tree | 91901f66b25600a47e02d67d5e087cf5a9ea0d9e /dev-lang/rust/rust-1.84.0-r1.ebuild | |
| parent | 15a1fcd97f44599319b17b8ef0ddc7137838200c (diff) | |
| download | gentoo-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.84.0-r1.ebuild')
| -rw-r--r-- | dev-lang/rust/rust-1.84.0-r1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.84.0-r1.ebuild b/dev-lang/rust/rust-1.84.0-r1.ebuild index 83b5a9c1a3dd..2afcbad6227d 100644 --- a/dev-lang/rust/rust-1.84.0-r1.ebuild +++ b/dev-lang/rust/rust-1.84.0-r1.ebuild @@ -68,7 +68,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 |
