]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: fix internal linking check for mips64le
authorCherry Zhang <cherryyz@google.com>
Sun, 18 Sep 2016 19:28:41 +0000 (15:28 -0400)
committerCherry Zhang <cherryyz@google.com>
Sun, 18 Sep 2016 20:15:13 +0000 (20:15 +0000)
Fix mips64le build.

Change-Id: Icf1b4901655463f582b49054a88edfb06ad6c676
Reviewed-on: https://go-review.googlesource.com/29281
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/dist/test.go

index 42fd914bb1bfa2a41f815e97574742d271a3e233..4587143b1e629bee93567000920acbaca1e721b5 100644 (file)
@@ -712,7 +712,7 @@ func (t *tester) internalLink() bool {
        // Internally linking cgo is incomplete on some architectures.
        // https://golang.org/issue/10373
        // https://golang.org/issue/14449
-       if t.goarch == "arm64" || t.goarch == "mips64" {
+       if t.goarch == "arm64" || t.goarch == "mips64" || t.goarch == "mips64le" {
                return false
        }
        return true