aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_openbsd_syscall.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2021-05-10 03:16:28 +1000
committerJoel Sing <joel@sing.id.au>2021-05-11 02:46:21 +0000
commit326a7925179ea669aa9f947dda82e425673cb220 (patch)
tree6204992b264f1fc7a63fcd5e53b500e22b8f1ab1 /src/runtime/os_openbsd_syscall.go
parent5c489514bc5e61ad9b5b07bd7d8ec65d66a0512a (diff)
downloadgo-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/os_openbsd_syscall.go')
-rw-r--r--src/runtime/os_openbsd_syscall.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/os_openbsd_syscall.go b/src/runtime/os_openbsd_syscall.go
index 94e851cde8..3cdcb6c707 100644
--- a/src/runtime/os_openbsd_syscall.go
+++ b/src/runtime/os_openbsd_syscall.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