summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-11 17:20:37 -0500
committerGitHub <noreply@github.com>2021-01-11 17:20:37 -0500
commit56819073147bec22badd6b5e424cd981d3383398 (patch)
tree6db1728f57f4d50612ae25ccfe1cad369cac0dbd /Makefile
parenta6510892635d57dfcfbacbe910155e380612b057 (diff)
parent1d8b9e944f0b9532bd750d583a70810377d9b71e (diff)
downloadpodman-56819073147bec22badd6b5e424cd981d3383398.tar.gz
podman-56819073147bec22badd6b5e424cd981d3383398.tar.bz2
podman-56819073147bec22badd6b5e424cd981d3383398.zip
Merge pull request #8939 from cevich/more_cross_builds
Cirrus: Add cross-compile test for alternative arches
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0c1e4003..085af6d80 100644
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,7 @@ bin/podman.cross.%: .gopathok
TARGET="$*"; \
GOOS="$${TARGET%%.*}" \
GOARCH="$${TARGET##*.}" \
- $(GO) build $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags '$(BUILDTAGS_CROSS)' -o "$@" ./cmd/podman
+ CGO_ENABLED=0 $(GO) build $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags '$(BUILDTAGS_CROSS)' -o "$@" ./cmd/podman
# Update nix/nixpkgs.json its latest stable commit
.PHONY: nixpkgs