1
0
mirror of https://github.com/golang/go synced 2024-11-24 16:40:15 -07:00

cmd/dist: allow gohostarch to be s390x

Should let the s390x builder progress a little further.

Change-Id: I5eab5f384b0b039f8e246ba69ecfb24de08625d2
Reviewed-on: https://go-review.googlesource.com/20965
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Michael Munday 2016-03-21 11:02:55 -04:00 committed by Brad Fitzpatrick
parent 259b7edf5c
commit 596949c18a

View File

@ -452,6 +452,8 @@ func main() {
} else {
gohostarch = "mips64le"
}
case strings.Contains(out, "s390x"):
gohostarch = "s390x"
case gohostos == "darwin":
if strings.Contains(run("", CheckExit, "uname", "-v"), "RELEASE_ARM_") {
gohostarch = "arm"