summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-12-14 16:06:54 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-14 23:00:23 +0000
commit90d984ef9a16bea6168542689a98748d00457152 (patch)
tree85294d430ff520c4cf945711f441b456ebda1656
parent3ba2c3e11791b9da11661ea45d966d2db621a6ac (diff)
downloadpodman-90d984ef9a16bea6168542689a98748d00457152.tar.gz
podman-90d984ef9a16bea6168542689a98748d00457152.tar.bz2
podman-90d984ef9a16bea6168542689a98748d00457152.zip
Use incremental go build
Speed up kpod builds by not recompiling eveything but only what has changed. Signed-off-by: baude <bbaude@redhat.com> Closes: #139 Approved by: rhatdan
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7be742688..8784ba1e4 100644
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ test/checkseccomp/checkseccomp: .gopathok $(wildcard test/checkseccomp/*.go)
$(GO) build $(LDFLAGS) -tags "$(BUILDTAGS) containers_image_ostree_stub" -o $@ $(PROJECT)/test/checkseccomp
kpod: .gopathok $(shell hack/find-godeps.sh $(GOPKGDIR) cmd/kpod $(PROJECT))
- $(GO) build $(LDFLAGS_KPOD) -tags "$(BUILDTAGS)" -o bin/$@ $(PROJECT)/cmd/kpod
+ $(GO) build -i $(LDFLAGS_KPOD) -tags "$(BUILDTAGS)" -o bin/$@ $(PROJECT)/cmd/kpod
clean:
ifneq ($(GOPATH),)