diff options
Diffstat (limited to 'dev-util/cargo/cargo-0.24.0.ebuild')
-rw-r--r-- | dev-util/cargo/cargo-0.24.0.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/cargo/cargo-0.24.0.ebuild b/dev-util/cargo/cargo-0.24.0.ebuild index 89f6a7ff..14d6057f 100644 --- a/dev-util/cargo/cargo-0.24.0.ebuild +++ b/dev-util/cargo/cargo-0.24.0.ebuild @@ -135,7 +135,7 @@ ws2_32-sys-0.2.1 inherit bash-completion-r1 cargo versionator case "${CHOST}" in - armv7a-hardfloat-*) + armv7a*) CARGOARCH=armv7 ;; arm*) CARGOARCH=arm ;; @@ -146,7 +146,7 @@ case "${CHOST}" in armv7a-hardfloat-*) CARGOLIBC=${ELIBC/glibc/gnu}eabihf ;; arm*) - CARGOLIBC=${ELIBC/glibc/gnu}eabi ;; + CARGOLIBC=${CHOST##*-} ;; *) CARGOLIBC=${ELIBC/glibc/gnu} ;; esac |