Skip to content

Commit

Permalink
androidtest.bash: don't require GOARCH set
Browse files Browse the repository at this point in the history
The host GOARCH is most likely supported (386, amd64, arm, arm64).

Change-Id: I86324b9c00f22c592ba54bda7d2ae97c86bda904
Reviewed-on: https://go-review.googlesource.com/99155
Run-TryBot: Elias Naur <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
  • Loading branch information
Elias Naur committed Mar 7, 2018
1 parent e83601b commit 9094946
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/androidtest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ if [ -n "$GOARM" ] && [ "$GOARM" != "7" ]; then
echo "android only supports GOARM=7, got GOARM=$GOARM" 1>&2
exit 1
fi
if [ "$GOARCH" = "" ]; then
echo "GOARCH must be set" 1>&2
exit 1
fi

export CGO_ENABLED=1
unset GOBIN
Expand Down

0 comments on commit 9094946

Please sign in to comment.