aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-06-01 15:38:01 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-06-01 15:38:01 +0200
commitf91c852fa640d7c27f0ce5f234a52c9cfeb802f9 (patch)
tree2a57047292461fe45c033fa2fd89370af14bfce8 /Makefile
parent70ce77e8d0aab41918b54b2547c902a5463cf798 (diff)
downloadpodman-f91c852fa640d7c27f0ce5f234a52c9cfeb802f9.tar.gz
podman-f91c852fa640d7c27f0ce5f234a52c9cfeb802f9.tar.bz2
podman-f91c852fa640d7c27f0ce5f234a52c9cfeb802f9.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb9eb057d..2995aed65 100644
--- a/Makefile
+++ b/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) \