squid fails to cross build from source, because it passes compiler flags meant for the host compiler to the build compiler. Since amd64 and arm64 have architecture-specific compiler flags, cross building for these is broken. I'm attaching a patch to fix this. Please consider applying it. Helmut