Source: togl Version: 2.0-5 Tags: patch User: [email protected] Usertags: ftcbfs
togl fails to cross build from source, because debian/rules uses $(CC), which ends up being the build architecture compiler as a GNU make default value. The easiest way to initialize CC to a cross compiler when needed is including /usr/share/dpkg/buildtools.mk. Doing so makes togl cross buildable. I'm attaching a patch for your convenience. Helmut
diff -Nru togl-2.0/debian/changelog togl-2.0/debian/changelog --- togl-2.0/debian/changelog 2025-09-20 17:46:06.000000000 +0200 +++ togl-2.0/debian/changelog 2026-01-29 07:50:28.000000000 +0100 @@ -1,3 +1,10 @@ +togl (2.0-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk set CC. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Thu, 29 Jan 2026 07:50:28 +0100 + togl (2.0-5) unstable; urgency=medium * Team upload. diff -Nru togl-2.0/debian/rules togl-2.0/debian/rules --- togl-2.0/debian/rules 2025-09-20 17:46:06.000000000 +0200 +++ togl-2.0/debian/rules 2026-01-29 07:50:26.000000000 +0100 @@ -2,6 +2,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all +include /usr/share/dpkg/buildtools.mk + %: dh $@

