Explorar o código

unix: add build tags to s390x files

Needed for old versions of the compiler.

Fixes golang/go#15697.

Change-Id: I913a4baef537775f037b736252b093a87e3b1015
Reviewed-on: https://go-review.googlesource.com/23130
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Michael Munday %!s(int64=9) %!d(string=hai) anos
pai
achega
d4feaf1a7e
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      unix/asm_linux_s390x.s
  2. 2 0
      unix/syscall_linux_s390x.go

+ 2 - 0
unix/asm_linux_s390x.s

@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build s390x
+// +build linux
 // +build !gccgo
 
 #include "textflag.h"

+ 2 - 0
unix/syscall_linux_s390x.go

@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build s390x,linux
+
 package unix
 
 import (