From: Michael Munday Date: Mon, 21 Mar 2016 15:02:55 +0000 (-0400) Subject: cmd/dist: allow gohostarch to be s390x X-Git-Tag: go1.7beta1~1166 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=596949c18a29c51fcfa3ec2596cae72241e256e1;p=gostls13.git 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 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/dist/util.go b/src/cmd/dist/util.go index c3e2a41287..57b1d2dd84 100644 --- a/src/cmd/dist/util.go +++ b/src/cmd/dist/util.go @@ -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"