Commit 9512e470 authored by Shenghou Ma's avatar Shenghou Ma

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

LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/125760043
parent ffb07c0e
...@@ -708,6 +708,10 @@ main(int argc, char **argv) ...@@ -708,6 +708,10 @@ main(int argc, char **argv)
gohostarch = "386"; gohostarch = "386";
else if(contains(u.machine, "arm")) else if(contains(u.machine, "arm"))
gohostarch = "arm"; gohostarch = "arm";
else if(contains(u.machine, "ppc64le"))
gohostarch = "power64le";
else if(contains(u.machine, "ppc64"))
gohostarch = "power64";
else else
fatal("unknown architecture: %s", u.machine); fatal("unknown architecture: %s", u.machine);
} }
......
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