]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: mark cgo as disabled on linux/riscv64
authorJoel Sing <joel@sing.id.au>
Wed, 22 Jan 2020 16:46:00 +0000 (03:46 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Jan 2020 16:57:26 +0000 (16:57 +0000)
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 <cherryyz@google.com>
src/cmd/dist/build.go

index 9eb9e8f241933284fdb5c6eab0277c75301e5864..206c65f52f3971546a4df6c7728716e54b430aa8 100644 (file)
@@ -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,