diff options
| author | Joel Sing <joel@sing.id.au> | 2020-11-04 00:26:15 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2020-11-04 06:12:33 +0000 |
| commit | 8eb846fd37eb7bded8a1cf6932be2c59069863e5 (patch) | |
| tree | da9fd86af15056194c461b3aed68107a0f43397e /src/cmd/dist | |
| parent | e1b305af028544e00a22c905e68049c98c10a1cc (diff) | |
| download | go-8eb846fd37eb7bded8a1cf6932be2c59069863e5.tar.xz | |
cmd/compile,cmd/dist,cmd/go: enable pie buildmode for linux/riscv64
Enable pie as a buildmode for linux/riscv64, along with associated tests.
Change-Id: I3fb0234d534dbeb96aa6cee6ae872304fbe02cf4
Reviewed-on: https://go-review.googlesource.com/c/go/+/267317
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/dist')
| -rw-r--r-- | src/cmd/dist/test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index d12a52b1cc..f087aba2b9 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -1021,7 +1021,7 @@ func (t *tester) supportedBuildmode(mode string) bool { case "pie": switch pair { case "aix/ppc64", - "linux-386", "linux-amd64", "linux-arm", "linux-arm64", "linux-ppc64le", "linux-s390x", + "linux-386", "linux-amd64", "linux-arm", "linux-arm64", "linux-ppc64le", "linux-riscv64", "linux-s390x", "android-amd64", "android-arm", "android-arm64", "android-386": return true case "darwin-amd64", "darwin-arm64": |
