Source: sloccount Version: 2.26-5.2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
sloccount fails to cross build from source, because it uses the build architecture compiler. The easiest way of passing cross tools to make is letting dh_auto_build do it. After doing so, sloccount cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru sloccount-2.26/debian/changelog sloccount-2.26/debian/changelog --- sloccount-2.26/debian/changelog 2017-03-17 15:01:31.000000000 +0100 +++ sloccount-2.26/debian/changelog 2018-05-21 18:30:08.000000000 +0200 @@ -1,3 +1,10 @@ +sloccount (2.26-5.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 21 May 2018 18:30:08 +0200 + sloccount (2.26-5.2) unstable; urgency=low * Non-maintainer upload. diff --minimal -Nru sloccount-2.26/debian/rules sloccount-2.26/debian/rules --- sloccount-2.26/debian/rules 2017-03-17 14:53:01.000000000 +0100 +++ sloccount-2.26/debian/rules 2018-05-21 18:30:05.000000000 +0200 @@ -62,7 +62,7 @@ dh_testdir # Add here commands to compile the package. - $(MAKE) + dh_auto_build touch build-stamp