Source: squid Version: 7.8-1 Tags: patch User: [email protected] Usertags: ftcbfs
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
diff -Nru squid-7.8/debian/changelog squid-7.8/debian/changelog --- squid-7.8/debian/changelog 2026-11-03 14:58:11.000000000 +0100 +++ squid-7.8/debian/changelog 2026-11-22 16:56:35.000000000 +0100 @@ -1,3 +1,10 @@ +squid (7.8-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS for amd64/arm64: Pass suitable build compiler flags. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 22 Nov 2026 16:56:35 +0100 + squid (7.8-1) unstable; urgency=high [ Amos Jeffries <[email protected]> ] diff -Nru squid-7.8/debian/rules squid-7.8/debian/rules --- squid-7.8/debian/rules 2026-11-03 14:58:11.000000000 +0100 +++ squid-7.8/debian/rules 2026-11-22 16:56:34.000000000 +0100 @@ -21,7 +21,7 @@ # Build Environment settings DEB_CONFIGURE_EXTRA_FLAGS := \ - BUILDCXXFLAGS="$(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)" \ + BUILDCXXFLAGS="$(CXXFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD)" \ BUILDCXX=$(CXX_FOR_BUILD) \ --disable-arch-native \ --disable-translation \

