]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: fix wrong goarch on mips64le
authorMeng Zhuo <mengzhuo1203@gmail.com>
Fri, 25 Oct 2019 12:54:20 +0000 (20:54 +0800)
committerCherry Zhang <cherryyz@google.com>
Fri, 25 Oct 2019 14:31:54 +0000 (14:31 +0000)
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>
src/cmd/dist/build.go

index ea290b106908a065b622797bac0fd18e99da80aa..6c8e558f296191d5de3c0bdabc98d2a15757957e 100644 (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)
        }