summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/rust-toolchain.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass
index ad670d0cb31..35e13e3de97 100644
--- a/eclass/rust-toolchain.eclass
+++ b/eclass/rust-toolchain.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: rust-toolchain.eclass
@@ -110,7 +110,8 @@ rust_all_arch_uris()
uris+="arm? ( $(rust_arch_uri arm-unknown-linux-gnueabi "$@")
$(rust_arch_uri arm-unknown-linux-gnueabihf "$@")
$(rust_arch_uri armv7-unknown-linux-gnueabihf "$@") ) "
- uris+="arm64? ( $(rust_arch_uri aarch64-unknown-linux-gnu "$@") ) "
+ uris+="arm64? ( elibc_glibc? ( $(rust_arch_uri aarch64-unknown-linux-gnu "$@") )
+ elibc_musl? ( $(rust_arch_uri aarch64-unknown-linux-musl "$@") ) ) "
uris+="mips? ( $(rust_arch_uri mips-unknown-linux-gnu "$@")
$(rust_arch_uri mipsel-unknown-linux-gnu "$@")
$(rust_arch_uri mips64-unknown-linux-gnuabi64 "$@") ) "