[dev.power64] cmd/dist: recognize power64 and power64le as GOHOSTARCH

LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/125760043
This commit is contained in:
Shenghou Ma 2014-08-06 16:16:28 -04:00
parent ffb07c0e6c
commit 9512e470e1
1 changed files with 4 additions and 0 deletions

4
src/cmd/dist/unix.c vendored
View File

@ -708,6 +708,10 @@ main(int argc, char **argv)
gohostarch = "386";
else if(contains(u.machine, "arm"))
gohostarch = "arm";
else if(contains(u.machine, "ppc64le"))
gohostarch = "power64le";
else if(contains(u.machine, "ppc64"))
gohostarch = "power64";
else
fatal("unknown architecture: %s", u.machine);
}