kpod: Use build tags in makefile

Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
Matthew Heon 2017-03-21 10:30:31 -04:00
parent ddeff0fcef
commit 5f74cffd12

View file

@ -66,7 +66,9 @@ ocic: check-gopath
$(GO) build -o $@ $(PROJECT)/cmd/ocic $(GO) build -o $@ $(PROJECT)/cmd/ocic
kpod: check-gopath kpod: check-gopath
$(GO) build -o $@ $(PROJECT)/cmd/kpod $(GO) build -o $@ \
-tags "$(BUILDTAGS)" \
$(PROJECT)/cmd/kpod
ocid.conf: ocid ocid.conf: ocid
./ocid --config="" config --default > ocid.conf ./ocid --config="" config --default > ocid.conf