зеркало из https://github.com/golang/sys.git
unix: add arm64 and ppc64le build tags as needed for Go 1.4
Go1.4 does not recognize arm64 and ppc64le as valid GOARCH values, so we need explicit build tags. Change-Id: I1a886c132ae398d9f92b2c2b33d2a4827bbdb9d4 Reviewed-on: https://go-review.googlesource.com/10083 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Родитель
76b6ca6286
Коммит
8bcc2dbee4
|
@ -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 arm64
|
||||
// +build !gccgo
|
||||
|
||||
#include "textflag.h"
|
||||
|
|
|
@ -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 arm64
|
||||
|
||||
package unix
|
||||
|
||||
const _SYS_dup = SYS_DUP3
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// cgo -godefs -- _const.go
|
||||
|
||||
// +build arm64
|
||||
|
||||
package unix
|
||||
|
||||
import "syscall"
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
// +build ppc64le
|
||||
|
||||
package unix
|
||||
|
||||
import "syscall"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// mksyscall.pl syscall_linux.go syscall_linux_arm64.go
|
||||
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
|
||||
// +build arm64
|
||||
|
||||
package unix
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// mksyscall.pl syscall_linux.go syscall_linux_ppc64x.go
|
||||
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
|
||||
// +build ppc64le
|
||||
|
||||
package unix
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// mksysnum_linux.pl /usr/include/asm-generic/unistd.h
|
||||
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
|
||||
|
||||
// +build arm64
|
||||
|
||||
package unix
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// mksysnum_linux.pl /usr/include/powerpc64le-linux-gnu/asm/unistd.h
|
||||
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
|
||||
|
||||
// +build ppc64le
|
||||
|
||||
package unix
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// cgo -godefs -- -fsigned-char types_linux.go
|
||||
|
||||
// +build arm64
|
||||
|
||||
package unix
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// cgo -godefs types_linux.go
|
||||
|
||||
// +build ppc64le
|
||||
|
||||
package unix
|
||||
|
||||
const (
|
||||
|
|
Загрузка…
Ссылка в новой задаче