diff options
author | Joel Sing <joel@sing.id.au> | 2024-03-02 19:53:20 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2024-03-16 02:25:22 +0000 |
commit | 68d3a9e417344c11426f158c7a6f3197a0890ff1 (patch) | |
tree | 66a6480ff3b4f2613ceb65deb36c291ff1ceda9b /src/cmd/dist/test.go | |
parent | b822f098c557ea3d9200fd2d8a2e2b4d641e83e4 (diff) | |
download | go-68d3a9e417344c11426f158c7a6f3197a0890ff1.tar.gz go-68d3a9e417344c11426f158c7a6f3197a0890ff1.zip |
cmd/dist,cmd/link: enable PIE buildmode on openbsd/arm64
The PIE buildmode works correctly on openbsd/arm64, hence enable it.
Updates #59866
Change-Id: I2f3c2839893659391539fafa12891d64f867e189
Reviewed-on: https://go-review.googlesource.com/c/go/+/570375
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r-- | src/cmd/dist/test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 8f4b081ad1..95d9cab816 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -1637,6 +1637,7 @@ func buildModeSupported(compiler, buildmode, goos, goarch string) bool { "darwin/amd64", "darwin/arm64", "ios/amd64", "ios/arm64", "aix/ppc64", + "openbsd/arm64", "windows/386", "windows/amd64", "windows/arm", "windows/arm64": return true } |