Skip to content

Commit

Permalink
Merge pull request moby#7389 from tianon/replace-amd64-build-tags-wit…
Browse files Browse the repository at this point in the history
…h-cgo-as-appropriate

Replace amd64 build tags with cgo as appropriate
  • Loading branch information
tiborvass committed Aug 7, 2014
2 parents 45a239c + 89ec17d commit ab3e34e
Show file tree
Hide file tree
Showing 21 changed files with 16 additions and 26 deletions.
2 changes: 0 additions & 2 deletions daemon/execdriver/lxc/lxc_init_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build amd64

package lxc

import (
Expand Down
2 changes: 1 addition & 1 deletion daemon/execdriver/lxc/lxc_init_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux !amd64
// +build !linux

package lxc

Expand Down
2 changes: 0 additions & 2 deletions daemon/graphdriver/aufs/mount_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build amd64

package aufs

import "syscall"
Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/aufs/mount_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux !amd64
// +build !linux

package aufs

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/btrfs/btrfs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package btrfs

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/btrfs/dummy_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// +build !linux !amd64
// +build !linux !cgo

package btrfs
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/attach_loopback.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/deviceset.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/devmapper.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/devmapper_log.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/devmapper_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/devmapper_wrapper.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/driver.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/ioctl.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 1 addition & 1 deletion daemon/graphdriver/devmapper/mount.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux,amd64
// +build linux

package devmapper

Expand Down
2 changes: 0 additions & 2 deletions pkg/mount/flags_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build amd64

package mount

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/mount/flags_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux,!freebsd linux,!amd64 freebsd,!cgo
// +build !linux,!freebsd freebsd,!cgo

package mount

Expand Down
2 changes: 0 additions & 2 deletions pkg/mount/mounter_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build amd64

package mount

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/mount/mounter_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux,!freebsd linux,!amd64 freebsd,!cgo
// +build !linux,!freebsd freebsd,!cgo

package mount

Expand Down
2 changes: 0 additions & 2 deletions pkg/parsers/kernel/uname_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build amd64

package kernel

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/parsers/kernel/uname_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux !amd64
// +build !linux

package kernel

Expand Down

0 comments on commit ab3e34e

Please sign in to comment.