Files
podman/Makefile
Amarendar Reddy Kanthala 92d0392ca2 Makefile: fail early with a clear message on darwin/amd64
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>
2026-04-08 09:37:20 -05:00

41 KiB