1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -07:00

cmd/dist: fix wrong goarch on mips64le

Change-Id: I625f0bc533a7d14010c0344f36e8f157a19c13f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/203437
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
Meng Zhuo 2019-10-25 20:54:20 +08:00 committed by Cherry Zhang
parent 9a701017e6
commit dad512f6df

View File

@ -814,7 +814,7 @@ func runInstall(dir string, ch chan struct{}) {
// Define GOMIPS_value from gomips.
asmArgs = append(asmArgs, "-D", "GOMIPS_"+gomips)
}
if goarch == "mips64" || goarch == "mipsle64" {
if goarch == "mips64" || goarch == "mips64le" {
// Define GOMIPS64_value from gomips64.
asmArgs = append(asmArgs, "-D", "GOMIPS64_"+gomips64)
}