From: Cherry Zhang Date: Thu, 28 Apr 2016 02:18:44 +0000 (-0400) Subject: cmd/dist: enable cgo and external linking on linux/mips64x X-Git-Tag: go1.7beta1~344 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1cec0fec8caff1eacaba99ff71b2c57574887aab;p=gostls13.git cmd/dist: enable cgo and external linking on linux/mips64x Fixes #14126 Change-Id: I21c8e06c01d3ef02ee09dc185d4443e2da8fd52b Reviewed-on: https://go-review.googlesource.com/19809 Reviewed-by: Minux Ma --- diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go index d6dfa2d3e0..04a13b2365 100644 --- a/src/cmd/dist/build.go +++ b/src/cmd/dist/build.go @@ -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, diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 92559c9d7e..8e2c947919 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -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":