Skip to content

Commit 596949c

Browse files
mundaymbradfitz
authored andcommitted
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 <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 259b7ed commit 596949c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmd/dist/util.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ func main() {
452452
} else {
453453
gohostarch = "mips64le"
454454
}
455+
case strings.Contains(out, "s390x"):
456+
gohostarch = "s390x"
455457
case gohostos == "darwin":
456458
if strings.Contains(run("", CheckExit, "uname", "-v"), "RELEASE_ARM_") {
457459
gohostarch = "arm"

0 commit comments

Comments
 (0)