From d4feaf1a7e61e1d9e79e6c4e76c6349e9cab0a03 Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Mon, 16 May 2016 08:31:02 -0400 Subject: [PATCH] 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 --- unix/asm_linux_s390x.s | 2 ++ unix/syscall_linux_s390x.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/unix/asm_linux_s390x.s b/unix/asm_linux_s390x.s index bdcf4124..11889859 100644 --- a/unix/asm_linux_s390x.s +++ b/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" diff --git a/unix/syscall_linux_s390x.go b/unix/syscall_linux_s390x.go index a2485f70..3f98904e 100644 --- a/unix/syscall_linux_s390x.go +++ b/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 (