diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-08 16:54:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 16:54:09 +0200 |
commit | ae9892e23e378a6bd96884d09b886757c425ac58 (patch) | |
tree | 0d5cf953d966ff77f31e4f318529d99a48837680 /Makefile | |
parent | d3826d6eb3ec38116ee40b5081dcddab39bd3493 (diff) | |
parent | b27aa5f81b6197817fcbc659019a65f50c8892b2 (diff) | |
download | podman-ae9892e23e378a6bd96884d09b886757c425ac58.tar.gz podman-ae9892e23e378a6bd96884d09b886757c425ac58.tar.bz2 podman-ae9892e23e378a6bd96884d09b886757c425ac58.zip |
Merge pull request #6103 from rhatdan/makefile.1
Add podman-remote-static target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -189,7 +189,11 @@ podman: bin/podman .PHONY: bin/podman-remote bin/podman-remote: .gopathok $(SOURCES) go.mod go.sum $(PODMAN_VARLINK_DEPENDENCIES) ## Build with podman on remote environment - $(GO_BUILD) $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags "!ABISupport $(BUILDTAGS) remoteclient" -o $@ $(PROJECT)/cmd/podman + $(GO_BUILD) $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags "!ABISupport remoteclient" -o $@ $(PROJECT)/cmd/podman + +.PHONY: bin/podman-remote-static +podman-remote-static: bin/podman-remote-static + CGO_ENABLED=0 $(GO_BUILD) $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN_STATIC)' -tags "!ABISupport containers_image_openpgp remoteclient" -o bin/podman-remote-static $(PROJECT)/cmd/podman .PHONY: podman-remote podman-remote: bin/podman-remote |