#1126660 togl FTCBFS: debian/rules uses the build architecture compiler as a make default

Package:
src:togl
Source:
src:togl
Submitter:
Helmut Grohne
Date:
2026-01-30 09:03:05 UTC
Severity:
normal
Tags:
#1126660#5
Date:
2026-01-29 06:54:04 UTC
From:
To:
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