Commit 4fbe96ad authored by Michael Munday's avatar Michael Munday Committed by Brad Fitzpatrick

cmd/dist: add "s390x" to okgoarch and cgoEnabled

Allows the compiler to recognise s390x specific files and s390x
build tags.

Change-Id: I7c62ab7361cf708181b1d9cfbe9b1fcb01be31e0
Reviewed-on: https://go-review.googlesource.com/20872Reviewed-by: default avatarMinux Ma <minux@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent b2cf5710
......@@ -60,6 +60,7 @@ var okgoarch = []string{
"mips64le",
"ppc64",
"ppc64le",
"s390x",
}
// The known operating systems.
......@@ -1097,6 +1098,7 @@ var cgoEnabled = map[string]bool{
"linux/ppc64le": true,
"linux/mips64": false,
"linux/mips64le": false,
"linux/s390x": true,
"android/386": true,
"android/amd64": true,
"android/arm": true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment