diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-04-27 10:56:36 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-04-27 10:56:58 -0700 |
commit | 4dd54addce6a0232e66ce13731d389b28e6cabe4 (patch) | |
tree | 0513a3e72306f46a73e54c9e0e7ff986302d13a2 /dev-lang | |
parent | media-sound/asunder: bump to 2.9.7 (diff) | |
download | gentoo-4dd54addce6a0232e66ce13731d389b28e6cabe4.tar.gz gentoo-4dd54addce6a0232e66ce13731d389b28e6cabe4.tar.bz2 gentoo-4dd54addce6a0232e66ce13731d389b28e6cabe4.zip |
dev-lang/rust: only increase space req for multilib builds
Bug: https://bugs.gentoo.org/783768
Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rust/rust-1.51.0-r2.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.51.0-r2.ebuild b/dev-lang/rust/rust-1.51.0-r2.ebuild index 16db8c04f0bb..c2db84721a71 100644 --- a/dev-lang/rust/rust-1.51.0-r2.ebuild +++ b/dev-lang/rust/rust-1.51.0-r2.ebuild @@ -184,7 +184,9 @@ boostrap_rust_version_check() { pre_build_checks() { local M=8192 # multiply requirements by 1.5 if we are doing x86-multilib - M=$(( $(usex abi_x86_32 15 10) * ${M} / 10 )) + if use amd64; then + M=$(( $(usex abi_x86_32 15 10) * ${M} / 10 )) + fi M=$(( $(usex clippy 128 0) + ${M} )) M=$(( $(usex miri 128 0) + ${M} )) M=$(( $(usex rls 512 0) + ${M} )) |