commit:     6106eb119ee77a916c9c47f5055e1bba06cf176d
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Thu Apr 10 11:44:05 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 10 14:26:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6106eb11

dev-lag/rust: require lld only if USE="lto system-llvm"

Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41523
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/rust/rust-1.84.0-r1.ebuild | 2 +-
 dev-lang/rust/rust-1.84.1-r1.ebuild | 2 +-
 dev-lang/rust/rust-1.85.0-r1.ebuild | 2 +-
 dev-lang/rust/rust-1.85.0.ebuild    | 2 +-
 dev-lang/rust/rust-1.85.1.ebuild    | 2 +-
 dev-lang/rust/rust-1.86.0.ebuild    | 2 +-
 dev-lang/rust/rust-9999.ebuild      | 2 +-
 7 files changed, 7 insertions(+), 7 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

diff --git a/dev-lang/rust/rust-1.84.1-r1.ebuild 
b/dev-lang/rust/rust-1.84.1-r1.ebuild
index b6f28c029fd4..c98855304342 100644
--- a/dev-lang/rust/rust-1.84.1-r1.ebuild
+++ b/dev-lang/rust/rust-1.84.1-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

diff --git a/dev-lang/rust/rust-1.85.0-r1.ebuild 
b/dev-lang/rust/rust-1.85.0-r1.ebuild
index 9bfbad9c8626..87c6951a5371 100644
--- a/dev-lang/rust/rust-1.85.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.85.0-r1.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

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

diff --git a/dev-lang/rust/rust-1.85.1.ebuild b/dev-lang/rust/rust-1.85.1.ebuild
index 9bfbad9c8626..87c6951a5371 100644
--- a/dev-lang/rust/rust-1.85.1.ebuild
+++ b/dev-lang/rust/rust-1.85.1.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

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

diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild
index 72e640905646..39292c5cb886 100644
--- a/dev-lang/rust/rust-9999.ebuild
+++ b/dev-lang/rust/rust-9999.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

Reply via email to