Skip to content

Commit

Permalink
go: drop unsupported archs from building
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Mar 30, 2020
1 parent 4920663 commit 927e790
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions srcpkgs/go/template
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ noverifyrdeps=yes
case "${XBPS_TARGET_MACHINE}" in
aarch64*) _goarch=arm64 ;;
arm*) _goarch=arm ;;
mips*) _goarch=mips ;;
i686*) _goarch=386 ;;
x86_64*) _goarch=amd64 ;;
ppc64le*) _goarch=ppc64le ;;
ppc64*) _goarch=ppc64;;
ppc*) broken="Upstream does not support 32-bit ppc";;
*) _goarch=${XBPS_TARGET_MACHINE} ;;
*) broken="Unsupported architecture ${XBPS_TARGET_MACHINE}" ;;
esac

if [ "$CROSS_BUILD" ]; then
Expand Down

0 comments on commit 927e790

Please sign in to comment.