aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-02-15 21:30:49 +0100
committerDmitry Vyukov <dvyukov@google.com>2016-02-15 21:33:00 +0100
commit7fe9da14deb9edbcc895d6568cacaf3ae08be952 (patch)
tree79ecc43e37f52b6bf5563c4ecc2e2e2cbd3b06ec /sys
parent2275fed9dffea1e2f2d3e0da0a76ad4152d515fe (diff)
sys: fix build with Go1.4
It does not know about arm64 arch. Fixes #17
Diffstat (limited to 'sys')
-rw-r--r--sys/sys_amd64.go3
-rw-r--r--sys/sys_arm64.go3
-rw-r--r--sys/sys_ppc64le.go3
3 files changed, 9 insertions, 0 deletions
diff --git a/sys/sys_amd64.go b/sys/sys_amd64.go
index e7c387fe3..0aa52b81c 100644
--- a/sys/sys_amd64.go
+++ b/sys/sys_amd64.go
@@ -1,4 +1,7 @@
// AUTOGENERATED FILE
+
+// +build amd64
+
package sys
// Maps internal syscall ID onto kernel syscall number.
diff --git a/sys/sys_arm64.go b/sys/sys_arm64.go
index 746c9d25a..5b8d4cc06 100644
--- a/sys/sys_arm64.go
+++ b/sys/sys_arm64.go
@@ -1,4 +1,7 @@
// AUTOGENERATED FILE
+
+// +build arm64
+
package sys
// Maps internal syscall ID onto kernel syscall number.
diff --git a/sys/sys_ppc64le.go b/sys/sys_ppc64le.go
index cc4bc0380..ffc276672 100644
--- a/sys/sys_ppc64le.go
+++ b/sys/sys_ppc64le.go
@@ -1,4 +1,7 @@
// AUTOGENERATED FILE
+
+// +build ppc64le
+
package sys
// Maps internal syscall ID onto kernel syscall number.