From 5f74cffd1217ab36db419508561dc523251e70d7 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 21 Mar 2017 10:30:31 -0400 Subject: [PATCH] kpod: Use build tags in makefile Signed-off-by: Matthew Heon --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f565d65c..33436174 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,9 @@ ocic: check-gopath $(GO) build -o $@ $(PROJECT)/cmd/ocic kpod: check-gopath - $(GO) build -o $@ $(PROJECT)/cmd/kpod + $(GO) build -o $@ \ + -tags "$(BUILDTAGS)" \ + $(PROJECT)/cmd/kpod ocid.conf: ocid ./ocid --config="" config --default > ocid.conf