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/syscall | |
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/syscall')
-rw-r--r-- | src/syscall/exec_bsd.go | 4 | ||||
-rw-r--r-- | src/syscall/exec_libc2.go | 4 | ||||
-rw-r--r-- | src/syscall/syscall_openbsd1.go | 4 | ||||
-rw-r--r-- | src/syscall/syscall_openbsd_libc.go | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/syscall/exec_bsd.go b/src/syscall/exec_bsd.go index 569dd675ed..709066e809 100644 --- a/src/syscall/exec_bsd.go +++ b/src/syscall/exec_bsd.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 dragonfly || freebsd || netbsd || (openbsd && !386 && !amd64 && !arm && !arm64) -// +build dragonfly freebsd netbsd openbsd,!386,!amd64,!arm,!arm64 +//go:build dragonfly || freebsd || netbsd || (openbsd && mips64) +// +build dragonfly freebsd netbsd openbsd,mips64 package syscall diff --git a/src/syscall/exec_libc2.go b/src/syscall/exec_libc2.go index 7442d59aff..b999754c2e 100644 --- a/src/syscall/exec_libc2.go +++ b/src/syscall/exec_libc2.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 darwin || (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64) -// +build darwin openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64 +//go:build darwin || (openbsd && !mips64) +// +build darwin openbsd,!mips64 package syscall diff --git a/src/syscall/syscall_openbsd1.go b/src/syscall/syscall_openbsd1.go index 450f384831..15870ce1ee 100644 --- a/src/syscall/syscall_openbsd1.go +++ b/src/syscall/syscall_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 && !amd64 && !arm && !arm64 -// +build openbsd,!386,!amd64,!arm,!arm64 +//go:build openbsd && mips64 +// +build openbsd,mips64 package syscall diff --git a/src/syscall/syscall_openbsd_libc.go b/src/syscall/syscall_openbsd_libc.go index 2390912b0f..e67ee4e571 100644 --- a/src/syscall/syscall_openbsd_libc.go +++ b/src/syscall/syscall_openbsd_libc.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 syscall |