Skip to content

Commit

Permalink
runtime: add missing build constraints to os_linux_{be64,noauxv,novds…
Browse files Browse the repository at this point in the history
…o,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 <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Run-TryBot: Tobias Klauser <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
paulzhol authored and ianlancetaylor committed Mar 7, 2018
1 parent 9094946 commit 083f395
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/os_linux_be64.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

// The standard GNU/Linux sigset type on big-endian 64-bit machines.

// +build linux
// +build ppc64 s390x

package runtime
Expand Down
1 change: 1 addition & 0 deletions src/runtime/os_linux_noauxv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/runtime/os_linux_novdso.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/runtime/os_linux_ppc64x.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 083f395

Please sign in to comment.