mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-27 18:57:53 +00:00
Makefile: force podman-remote-static to linux
Some of the targets overwrite $GOOS. Since podman-remote-static should always build for linux we can force linux GOOS here. Fixes #14201 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
70ce77e8d0
commit
f91c852fa6
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -295,7 +295,7 @@ $(SRCBINDIR)/podman$(BINSFX): $(SRCBINDIR) $(SOURCES) go.mod go.sum
|
|||
|
||||
$(SRCBINDIR)/podman-remote-static: $(SRCBINDIR) $(SOURCES) go.mod go.sum
|
||||
CGO_ENABLED=0 \
|
||||
GOOS=$(GOOS) \
|
||||
GOOS=linux \
|
||||
GOARCH=$(GOARCH) \
|
||||
$(GO) build \
|
||||
$(BUILDFLAGS) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue