diff options
| author | Yuval Pavel Zholkover <paulzhol@gmail.com> | 2018-03-07 15:07:31 +0200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-03-07 14:26:19 +0000 |
| commit | 083f3957b8266d591db4147bd03dd16874635189 (patch) | |
| tree | 3ba0305bb5830acf11dbbb20fdccb48b8d362528 /src | |
| parent | 9094946f0d09fbde9bc8cbb4499377e359708af4 (diff) | |
| download | go-083f3957b8266d591db4147bd03dd16874635189.tar.xz | |
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 <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/os_linux_be64.go | 1 | ||||
| -rw-r--r-- | src/runtime/os_linux_noauxv.go | 1 | ||||
| -rw-r--r-- | src/runtime/os_linux_novdso.go | 1 | ||||
| -rw-r--r-- | src/runtime/os_linux_ppc64x.go | 1 |
4 files changed, 4 insertions, 0 deletions
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 |
