mirror of
https://github.com/containers/podman.git
synced 2026-07-11 15:55:22 -04:00
Building a darwin/amd64 binary fails deep in the Go toolchain with a confusing "all Go files excluded by build constraints" error because Podman 6 dropped Intel Mac support. This adds a check in the podman-remote build target so the failure is immediate and obvious. The check is scoped to the $(SRCBINDIR)/podman$(BINSFX) target and uses GOOS/GOARCH, so an Intel Mac user can still cross-compile for other platforms (e.g. GOOS=linux). Also adds a note in CONTRIBUTING.md about the requirement. Closes #28416 Signed-off-by: Amarendar Reddy Kanthala <amarendarkanthala@gmail.com>
41 KiB
41 KiB