Source: ascii Version: 3.15-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
ascii fails to cross build from source, because it uses the build architecture compiler. A simple fix is to replace $(MAKE) with dh_auto_make as the latter knows how to pass cross compilers to the makefile build system. In later debhelper compatibility levels, this will also enable parallel building. Please consider applying the attached patch. Helmut
diff --minimal -Nru ascii-3.15/debian/changelog ascii-3.15/debian/changelog --- ascii-3.15/debian/changelog 2015-04-26 11:41:47.000000000 +0200 +++ ascii-3.15/debian/changelog 2017-06-21 14:28:24.000000000 +0200 @@ -1,3 +1,11 @@ +ascii (3.15-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers to $(MAKE) (Closes: + #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 21 Jun 2017 14:28:24 +0200 + ascii (3.15-1) unstable; urgency=medium * [bb7c972] Imported Upstream version 3.15 diff --minimal -Nru ascii-3.15/debian/rules ascii-3.15/debian/rules --- ascii-3.15/debian/rules 2015-04-26 11:41:47.000000000 +0200 +++ ascii-3.15/debian/rules 2017-06-21 14:28:22.000000000 +0200 @@ -5,7 +5,7 @@ include /usr/share/dpkg/buildflags.mk override_dh_auto_build: - $(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" + dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" %: dh $@