summaryrefslogtreecommitdiff
path: root/dev-lang/rust-bin/rust-bin-9999.ebuild
diff options
context:
space:
mode:
authorMichal Rostecki <vadorovsky@protonmail.com>2025-01-29 18:46:56 +0100
committerSam James <sam@gentoo.org>2025-02-27 06:03:44 +0000
commitf59546d6e2ad8c0a8f3148efc06a641d860e7df6 (patch)
tree74a7c4a3e81d8871f25937037ade1d9fbd10d6de /dev-lang/rust-bin/rust-bin-9999.ebuild
parentb1623555fbb620459bb4f894bc2710d28ca828b3 (diff)
downloadgentoo-f59546d6e2ad8c0a8f3148efc06a641d860e7df6.tar.gz
gentoo-f59546d6e2ad8c0a8f3148efc06a641d860e7df6.tar.bz2
gentoo-f59546d6e2ad8c0a8f3148efc06a641d860e7df6.zip
dev-lang/rust-bin: Allow to use llvm-libgcc instead of GCC
We recently added llvm-runtimes/libgcc ebuild, which provides a full replacement of libgcc_s for systems without GCC. To leverage that ebuild in Rust binary packages, make them depend either on llvm-runtimes/libgcc or sys-devel/gcc. Bug: https://bugs.gentoo.org/946486 Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/40737 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/rust-bin/rust-bin-9999.ebuild')
-rw-r--r--dev-lang/rust-bin/rust-bin-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-lang/rust-bin/rust-bin-9999.ebuild b/dev-lang/rust-bin/rust-bin-9999.ebuild
index 2e2e6314f879..6338d2da2419 100644
--- a/dev-lang/rust-bin/rust-bin-9999.ebuild
+++ b/dev-lang/rust-bin/rust-bin-9999.ebuild
@@ -62,7 +62,10 @@ RDEPEND="
>=app-eselect/eselect-rust-20190311
dev-libs/openssl
sys-apps/lsb-release
- sys-devel/gcc:*
+ || (
+ llvm-runtimes/libgcc
+ sys-devel/gcc:*
+ )
!dev-lang/rust:stable
!dev-lang/rust-bin:stable
"