From: Joel Sing Date: Wed, 22 Jan 2020 16:46:00 +0000 (+1100) Subject: cmd/dist: mark cgo as disabled on linux/riscv64 X-Git-Tag: go1.14rc1~87 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fb2e3b82f47dc9be89821d16f609df65e1f5f6ab;p=gostls13.git cmd/dist: mark cgo as disabled on linux/riscv64 cgo is not currently supported on this platform. Updates #27532 and #36641 Change-Id: I4b35f887e869ebc5c156dd754b1c79897a8c5800 Reviewed-on: https://go-review.googlesource.com/c/go/+/215838 Reviewed-by: Cherry Zhang --- diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go index 9eb9e8f241..206c65f52f 100644 --- a/src/cmd/dist/build.go +++ b/src/cmd/dist/build.go @@ -1532,7 +1532,7 @@ var cgoEnabled = map[string]bool{ "linux/mipsle": true, "linux/mips64": true, "linux/mips64le": true, - "linux/riscv64": true, + "linux/riscv64": false, // Issue 36641 "linux/s390x": true, "linux/sparc64": true, "android/386": true,