1
0
mirror of https://github.com/golang/go synced 2024-11-18 06:14:46 -07:00

cmd/toolstash: don't build cmd for android

Linking cmd for android requires a cross-compiling toolchain,
which is not standard fare.

Skip it, and trust that the other platforms will pick up the slack.

Change-Id: Ifcf74f77e98489c859805ab7a448d80d019f3d20
Reviewed-on: https://go-review.googlesource.com/39556
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2017-04-05 08:09:19 -07:00
parent 37a1062ad0
commit 5054e612af

View File

@ -57,7 +57,11 @@ do
export GO386=387
fi
if $cmp; then
go build $work -a -toolexec 'toolstash -cmp' std cmd
if [ "$GOOS" = "android" ]; then
go build $work -a -toolexec 'toolstash -cmp' std
else
go build $work -a -toolexec 'toolstash -cmp' std cmd
fi
else
go build $work -a std
fi