okay so as a temporary "fix" I uninstalled homebrew from one of my Macs and used that to do the build, completely free of /opt/homebrew taint. Hopefully that works.
But the solution to "I want to build a binary that works on all Macs" should not be "own two Macs"