From e352599902ed76aa3f8ae177475e3eb806444384 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 9 Feb 2015 15:10:58 -0800 Subject: [PATCH] rkt: don't build gc.go, containers.go, and uuid.go on non-linux Fixes #495 --- rkt/containers.go | 2 ++ rkt/gc.go | 2 ++ rkt/uuid.go | 2 ++ 3 files changed, 6 insertions(+) diff --git a/rkt/containers.go b/rkt/containers.go index 4a5d93a..5164603 100644 --- a/rkt/containers.go +++ b/rkt/containers.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +//+build linux + package main import ( diff --git a/rkt/gc.go b/rkt/gc.go index 2e728f5..3e5fad2 100644 --- a/rkt/gc.go +++ b/rkt/gc.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +//+build linux + package main import ( diff --git a/rkt/uuid.go b/rkt/uuid.go index 93e76d2..54d7b18 100644 --- a/rkt/uuid.go +++ b/rkt/uuid.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +//+build linux + package main import (