Replace "amd64" build tags with "cgo" as appropriate, and remove where unnecessary

Signed-off-by: Andrew Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2014-08-02 01:46:15 -06:00
parent bc684fae64
commit 89ec17d113
21 changed files with 16 additions and 26 deletions

View file

@ -1,5 +1,3 @@
// +build amd64
package lxc
import (

View file

@ -1,4 +1,4 @@
// +build !linux !amd64
// +build !linux
package lxc

View file

@ -1,5 +1,3 @@
// +build amd64
package aufs
import "syscall"

View file

@ -1,4 +1,4 @@
// +build !linux !amd64
// +build !linux
package aufs

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package btrfs

View file

@ -1,3 +1,3 @@
// +build !linux !amd64
// +build !linux !cgo
package btrfs

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux
package devmapper

View file

@ -1,5 +1,3 @@
// +build amd64
package mount
import (

View file

@ -1,4 +1,4 @@
// +build !linux,!freebsd linux,!amd64 freebsd,!cgo
// +build !linux,!freebsd freebsd,!cgo
package mount

View file

@ -1,5 +1,3 @@
// +build amd64
package mount
import (

View file

@ -1,4 +1,4 @@
// +build !linux,!freebsd linux,!amd64 freebsd,!cgo
// +build !linux,!freebsd freebsd,!cgo
package mount

View file

@ -1,5 +1,3 @@
// +build amd64
package kernel
import (

View file

@ -1,4 +1,4 @@
// +build !linux !amd64
// +build !linux
package kernel