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

Signed-off-by: Andrew Page <admwiggin@gmail.com>
Upstream-commit: 89ec17d11319ae39bff19985ac59fc878fe1fe1e
Component: engine
This commit is contained in:
Tianon Gravi
2014-08-02 01:46:15 -06:00
parent c3c811b0a6
commit 416ed08d2b
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