aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist/build.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2020-05-19 18:56:01 +1000
committerJoel Sing <joel@sing.id.au>2020-11-03 12:59:51 +0000
commit393f2bb067088cdbdb8d5848e6880b2ce65ddaf9 (patch)
tree91d346ce5c6d3019b935a5f5c511338556009c65 /src/cmd/dist/build.go
parent974def803ee9fd03a755014dcb62d55105c846f1 (diff)
downloadgo-393f2bb067088cdbdb8d5848e6880b2ce65ddaf9.tar.xz
cmd/dist,cmd/go,runtime: add support for cgo on linux/riscv64
Fixes #36641 Change-Id: I51868d83ce341d78d33b221d184c5a5110c60d14 Reviewed-on: https://go-review.googlesource.com/c/go/+/263598 Trust: Joel Sing <joel@sing.id.au> Run-TryBot: Joel Sing <joel@sing.id.au> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/cmd/dist/build.go')
-rw-r--r--src/cmd/dist/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
index d822a83e44..20cb04d797 100644
--- a/src/cmd/dist/build.go
+++ b/src/cmd/dist/build.go
@@ -1549,7 +1549,7 @@ var cgoEnabled = map[string]bool{
"linux/mipsle": true,
"linux/mips64": true,
"linux/mips64le": true,
- "linux/riscv64": false, // Issue 36641
+ "linux/riscv64": true,
"linux/s390x": true,
"linux/sparc64": true,
"android/386": true,