diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-02-11 13:51:44 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-02-11 15:40:55 -0800 |
commit | f0e8b7937f7e8a361f53932c850a9996f447e614 (patch) | |
tree | d8ef64db71d40cec7df91c9ac9447922d75fb945 /eclass/rust-toolchain.eclass | |
parent | sys-kernel/gentoo-sources: amd64 stable (bug #768894) (diff) | |
download | gentoo-f0e8b7937f7e8a361f53932c850a9996f447e614.tar.gz gentoo-f0e8b7937f7e8a361f53932c850a9996f447e614.tar.bz2 gentoo-f0e8b7937f7e8a361f53932c850a9996f447e614.zip |
eclass/rust-toolchain.eclass: add aarch64-*-musl target support
Bug: https://bugs.gentoo.org/767451
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'eclass/rust-toolchain.eclass')
-rw-r--r-- | eclass/rust-toolchain.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass index 9d7360ed1c4b..ad670d0cb315 100644 --- a/eclass/rust-toolchain.eclass +++ b/eclass/rust-toolchain.eclass @@ -35,7 +35,8 @@ inherit multilib-build rust_abi() { local CTARGET=${1:-${CHOST}} case ${CTARGET%%*-} in - aarch64*) echo aarch64-unknown-linux-gnu;; + aarch64*gnu) echo aarch64-unknown-linux-gnu;; + aarch64*musl) echo aarch64-unknown-linux-musl;; mips64*) echo mips64-unknown-linux-gnuabi64;; powerpc64le*) echo powerpc64le-unknown-linux-gnu;; powerpc64*) echo powerpc64-unknown-linux-gnu;; |