mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
Merge pull request #6103 from rhatdan/makefile.1
Add podman-remote-static target
This commit is contained in:
6
Makefile
6
Makefile
@ -189,7 +189,11 @@ podman: bin/podman
|
|||||||
|
|
||||||
.PHONY: bin/podman-remote
|
.PHONY: bin/podman-remote
|
||||||
bin/podman-remote: .gopathok $(SOURCES) go.mod go.sum $(PODMAN_VARLINK_DEPENDENCIES) ## Build with podman on remote environment
|
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
|
.PHONY: podman-remote
|
||||||
podman-remote: bin/podman-remote
|
podman-remote: bin/podman-remote
|
||||||
|
Reference in New Issue
Block a user