From: Yuval Pavel Zholkover Date: Wed, 7 Mar 2018 13:07:31 +0000 (+0200) Subject: runtime: add missing build constraints to os_linux_{be64,noauxv,novdso,ppc64x}.go... X-Git-Tag: go1.11beta1~1313 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=083f3957b8266d591db4147bd03dd16874635189;p=gostls13.git runtime: add missing build constraints to os_linux_{be64,noauxv,novdso,ppc64x}.go files They do not match the file name patterns of *_GOOS *_GOARCH *_GOOS_GOARCH therefore the implicit linux constraint was not being added. Change-Id: Ie506c51cee6818db445516f96fffaa351df62cf5 Reviewed-on: https://go-review.googlesource.com/99116 Reviewed-by: Tobias Klauser Reviewed-by: Ian Lance Taylor Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot --- diff --git a/src/runtime/os_linux_be64.go b/src/runtime/os_linux_be64.go index 85466d704b..14fbad5d5f 100644 --- a/src/runtime/os_linux_be64.go +++ b/src/runtime/os_linux_be64.go @@ -4,6 +4,7 @@ // The standard GNU/Linux sigset type on big-endian 64-bit machines. +// +build linux // +build ppc64 s390x package runtime diff --git a/src/runtime/os_linux_noauxv.go b/src/runtime/os_linux_noauxv.go index d6174c33fe..895b4cd5f4 100644 --- a/src/runtime/os_linux_noauxv.go +++ b/src/runtime/os_linux_noauxv.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build linux // +build !arm,!arm64,!mips,!mipsle,!mips64,!mips64le,!s390x,!ppc64,!ppc64le package runtime diff --git a/src/runtime/os_linux_novdso.go b/src/runtime/os_linux_novdso.go index 41acd957cf..b5a6b0e947 100644 --- a/src/runtime/os_linux_novdso.go +++ b/src/runtime/os_linux_novdso.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build linux // +build !386,!amd64,!arm package runtime diff --git a/src/runtime/os_linux_ppc64x.go b/src/runtime/os_linux_ppc64x.go index e37bfc453a..3d2a3a198c 100644 --- a/src/runtime/os_linux_ppc64x.go +++ b/src/runtime/os_linux_ppc64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build linux // +build ppc64 ppc64le package runtime