From 596949c18a29c51fcfa3ec2596cae72241e256e1 Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Mon, 21 Mar 2016 11:02:55 -0400 Subject: [PATCH] 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 --- src/cmd/dist/util.go | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.48.1