Source: bomstrip Version: 9-12 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
bomstrip fails to cross build from source, because debian/rules uses the build architecture compiler as a make default. The easiest way to fix that is including dpkg's buildtools.mk. Please consider applying the attached patch to make bomstrip cross buildable. Helmut
diff --minimal -Nru bomstrip-9/debian/changelog bomstrip-9/debian/changelog --- bomstrip-9/debian/changelog 2018-12-26 00:33:57.000000000 +0100 +++ bomstrip-9/debian/changelog 2020-02-20 17:15:59.000000000 +0100 @@ -1,3 +1,10 @@ +bomstrip (9-12.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply ${CC}. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 20 Feb 2020 17:15:59 +0100 + bomstrip (9-12) unstable; urgency=medium * Use my Debian e-mail address. diff --minimal -Nru bomstrip-9/debian/rules bomstrip-9/debian/rules --- bomstrip-9/debian/rules 2018-01-16 08:41:06.000000000 +0100 +++ bomstrip-9/debian/rules 2020-02-20 17:15:58.000000000 +0100 @@ -18,7 +18,7 @@ endif export DEB_CFLAGS_MAINT_APPEND DEB_CPPFLAGS_MAINT_APPEND -CC?= cc +include /usr/share/dpkg/buildtools.mk override_dh_auto_build: ${CC} -c ${CPPFLAGS} ${CFLAGS} bomstrip.c