diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-06-01 15:38:01 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-06-01 15:38:01 +0200 |
commit | f91c852fa640d7c27f0ce5f234a52c9cfeb802f9 (patch) | |
tree | 2a57047292461fe45c033fa2fd89370af14bfce8 /Makefile | |
parent | 70ce77e8d0aab41918b54b2547c902a5463cf798 (diff) | |
download | podman-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) \ |