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/runtime/os_linux_novdso.go | |
parent | 9094946f0d09fbde9bc8cbb4499377e359708af4 (diff) | |
download | go-083f3957b8266d591db4147bd03dd16874635189.tar.gz go-083f3957b8266d591db4147bd03dd16874635189.zip |
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/runtime/os_linux_novdso.go')
-rw-r--r-- | src/runtime/os_linux_novdso.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |