diff options
author | Joel Sing <joel@sing.id.au> | 2021-05-10 03:16:28 +1000 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2021-05-11 02:46:21 +0000 |
commit | 326a7925179ea669aa9f947dda82e425673cb220 (patch) | |
tree | 6204992b264f1fc7a63fcd5e53b500e22b8f1ab1 /src/runtime/sys_openbsd1.go | |
parent | 5c489514bc5e61ad9b5b07bd7d8ec65d66a0512a (diff) | |
download | go-326a7925179ea669aa9f947dda82e425673cb220.tar.gz go-326a7925179ea669aa9f947dda82e425673cb220.zip |
runtime,syscall: simplify openbsd related build tags
openbsd/mips64 is now the only openbsd port that uses non-libc syscall - revise
build tags to reflect this.
Update #36435
Change-Id: I357b2dd2926d058e25e618fcca42c388587598a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/317919
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/runtime/sys_openbsd1.go')
-rw-r--r-- | src/runtime/sys_openbsd1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sys_openbsd1.go b/src/runtime/sys_openbsd1.go index 1af48539fa..6f9ad356d4 100644 --- a/src/runtime/sys_openbsd1.go +++ b/src/runtime/sys_openbsd1.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64) -// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64 +//go:build openbsd && !mips64 +// +build openbsd,!mips64 package runtime |