diff --git a/portlist/netstat.go b/portlist/netstat.go index e0f9345be..02b1a5957 100644 --- a/portlist/netstat.go +++ b/portlist/netstat.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !darwin !arm64 +// +build go1.16,!ios !go1.16,!darwin !go1.16,!arm64 package portlist diff --git a/portlist/netstat_exec.go b/portlist/netstat_exec.go index 2ca3fd574..dd78215ec 100644 --- a/portlist/netstat_exec.go +++ b/portlist/netstat_exec.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build windows freebsd openbsd darwin,amd64 +// +build windows freebsd openbsd darwin,amd64 go1.16,darwin,arm64 package portlist diff --git a/portlist/portlist_ios.go b/portlist/portlist_ios.go index a7a85a54c..19bc2db39 100644 --- a/portlist/portlist_ios.go +++ b/portlist/portlist_ios.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin,!amd64 +// +build go1.16,ios !go1.16,darwin,!amd64 package portlist diff --git a/portlist/portlist_macos.go b/portlist/portlist_macos.go index 66bd558b8..86dd3058e 100644 --- a/portlist/portlist_macos.go +++ b/portlist/portlist_macos.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin,amd64 +// +build darwin,amd64 go1.16,darwin,arm64 package portlist diff --git a/version/cmdname.go b/version/cmdname.go index a7899ed9f..832563532 100644 --- a/version/cmdname.go +++ b/version/cmdname.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !darwin !arm64 +// +build go1.16,!ios !go1.16,!darwin !go1.16,!arm64 package version diff --git a/version/cmdname_ios.go b/version/cmdname_ios.go index 69d71f7db..514da5da0 100644 --- a/version/cmdname_ios.go +++ b/version/cmdname_ios.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin,arm64 +// +build go1.16,ios !go1.16,darwin,arm64 package version