mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-19 23:07:52 +00:00
Makefile: build podman-remote-static with cgo disabled
Resolves: #13557 [NO NEW TESTS NEEDED] Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
9a3f3db667
commit
116a9ef02f
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -335,7 +335,10 @@ $(SRCBINDIR)/podman$(BINSFX): $(SRCBINDIR) .gopathok $(SOURCES) go.mod go.sum
|
|||
-o $@ ./cmd/podman
|
||||
|
||||
$(SRCBINDIR)/podman-remote-static: $(SRCBINDIR) .gopathok $(SOURCES) go.mod go.sum
|
||||
$(GOCMD) build \
|
||||
CGO_ENABLED=0 \
|
||||
GOOS=$(GOOS) \
|
||||
GOARCH=$(GOARCH) \
|
||||
$(GO) build \
|
||||
$(BUILDFLAGS) \
|
||||
$(GO_LDFLAGS) '$(LDFLAGS_PODMAN_STATIC)' \
|
||||
-tags "${REMOTETAGS}" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue