]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: enable cgo and external linking on linux/mips64x
authorCherry Zhang <lunaria21@gmail.com>
Thu, 28 Apr 2016 02:18:44 +0000 (22:18 -0400)
committerMinux Ma <minux@golang.org>
Wed, 4 May 2016 16:41:47 +0000 (16:41 +0000)
Fixes #14126

Change-Id: I21c8e06c01d3ef02ee09dc185d4443e2da8fd52b
Reviewed-on: https://go-review.googlesource.com/19809
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/dist/build.go
src/cmd/dist/test.go

index d6dfa2d3e0d367d5a37213fa98ff689a3a50ee07..04a13b2365ce6ab89e684754300af9821dc65fc6 100644 (file)
@@ -1096,8 +1096,8 @@ var cgoEnabled = map[string]bool{
        "linux/arm64":     true,
        "linux/ppc64":     false,
        "linux/ppc64le":   true,
-       "linux/mips64":    false,
-       "linux/mips64le":  false,
+       "linux/mips64":    true,
+       "linux/mips64le":  true,
        "linux/s390x":     true,
        "android/386":     true,
        "android/amd64":   true,
index 92559c9d7ec2ca4534ab07558dfaeeb602e72973..8e2c947919ef3e3e95322502b24ae5bfeb06d3a6 100644 (file)
@@ -640,7 +640,7 @@ func (t *tester) extLink() bool {
                "darwin-arm", "darwin-arm64",
                "dragonfly-386", "dragonfly-amd64",
                "freebsd-386", "freebsd-amd64", "freebsd-arm",
-               "linux-386", "linux-amd64", "linux-arm", "linux-arm64", "linux-ppc64le",
+               "linux-386", "linux-amd64", "linux-arm", "linux-arm64", "linux-ppc64le", "linux-mips64", "linux-mips64le",
                "netbsd-386", "netbsd-amd64",
                "openbsd-386", "openbsd-amd64",
                "windows-386", "windows-amd64":