From e2bdbfeefc8e8fb18b20e334f61b5bf528769526 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 7 Oct 2022 01:27:46 +1100 Subject: [PATCH] unix: flip openbsd libc build tags Rather than listing OpenBSD architectures that are using libc, list the one that is still blocked on direct system calls. This will simplify the addition of new OpenBSD ports. Updates golang/go#36435 Change-Id: I8d1d16a033245af436d955b5fa6ceeaa1f2a9f6b Reviewed-on: https://go-review.googlesource.com/c/sys/+/439975 Run-TryBot: Joel Sing Reviewed-by: Bryan Mills TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor Reviewed-by: Tobias Klauser --- unix/syscall_openbsd_libc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/syscall_openbsd_libc.go b/unix/syscall_openbsd_libc.go index 5930a897..e23c5394 100644 --- a/unix/syscall_openbsd_libc.go +++ b/unix/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 unix