]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: add missing build constraints to os_linux_{be64,noauxv,novdso,ppc64x}.go...
authorYuval Pavel Zholkover <paulzhol@gmail.com>
Wed, 7 Mar 2018 13:07:31 +0000 (15:07 +0200)
committerIan Lance Taylor <iant@golang.org>
Wed, 7 Mar 2018 14:26:19 +0000 (14:26 +0000)
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>

src/runtime/os_linux_be64.go
src/runtime/os_linux_noauxv.go
src/runtime/os_linux_novdso.go
src/runtime/os_linux_ppc64x.go

index 85466d704b7311c391f1e1a2d464cc750d3eac77..14fbad5d5f896cae9db5ac9aed3aee116827b043 100644 (file)
@@ -4,6 +4,7 @@
 
 // The standard GNU/Linux sigset type on big-endian 64-bit machines.
 
+// +build linux
 // +build ppc64 s390x
 
 package runtime
index d6174c33fe6e5806c2946d7befbbf91c141dc119..895b4cd5f44cb610c996a6bb1f3ae6e63b2a68e2 100644 (file)
@@ -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
index 41acd957cfd482ce2d7a9ec8128fdbd52b0de710..b5a6b0e947bec9fe666593094efffabfa62c5941 100644 (file)
@@ -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
index e37bfc453a9d6ae7f0b2fb2c774c577f8b83c532..3d2a3a198cad9a8f81679afe21fef3a906a8a4d4 100644 (file)
@@ -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