From b27149137de49f203bb9820a9b5304235b3a9a3b Mon Sep 17 00:00:00 2001 From: hipperson0 Date: Tue, 14 Nov 2017 21:51:22 +0000 Subject: [PATCH] gcc: Add mipshf-musl arch support --- srcpkgs/gcc/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template index cd522a9c235..707ebcf97a4 100644 --- a/srcpkgs/gcc/template +++ b/srcpkgs/gcc/template @@ -53,6 +53,7 @@ case "$XBPS_TARGET_MACHINE" in aarch64) _triplet="aarch64-linux-gnu";; aarch64-musl) _triplet="aarch64-linux-musl";; mips-musl) _triplet="mips-linux-musl";; + mipshf-musl) _triplet="mips-linux-muslhf";; mipsel-musl) _triplet="mipsel-linux-musl";; mipselhf-musl) _triplet="mipsel-linux-muslhf";; esac @@ -88,6 +89,7 @@ do_configure() { case "$XBPS_TARGET_MACHINE" in mipselhf-musl) _args+=" --with-arch=mips32r2 --with-float=hard"; _hash=sysv;; mipsel-musl) _args+=" --with-arch=mips32r2 --with-float=soft"; _hash=sysv;; + mipshf-musl) _args+=" --with-arch=mip32r2 --with-float=hard";; mips-musl) _args+=" --with-arch=mip32r2 --with-float=soft";; armv5*) _args+=" --with-arch=armv5te --with-float=soft";; armv6l*) _args+=" --with-arch=armv6 --with-fpu=vfp --with-float=hard";;