summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-01-11 11:17:42 -0500
committerChris Evich <cevich@redhat.com>2021-01-11 13:46:37 -0500
commit1d8b9e944f0b9532bd750d583a70810377d9b71e (patch)
tree5dd839ab85e093eaaef6d70ecb9bd5954b84f2cd /Makefile
parentd2503ae99b773db7b9dbdf3abf3be0160ac78399 (diff)
downloadpodman-1d8b9e944f0b9532bd750d583a70810377d9b71e.tar.gz
podman-1d8b9e944f0b9532bd750d583a70810377d9b71e.tar.bz2
podman-1d8b9e944f0b9532bd750d583a70810377d9b71e.zip
Cirrus: Add cross-compile test for alternative arches
Followup to https://github.com/containers/podman/pull/8907 that simply ensures cross-compiling podman completes. Signed-off-by: Chris Evich <cevich@redhat.com>
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