Source: aa3d Version: 1.0-8 Tags: patch User: helm...@debian.org Usertags: rebootstrap
aa3d fails to cross build from source, because it uses the build architecture compiler. While cdbs passes CC as an environment variable to make, that is being ignored by the Makefile. Turning the assignment into a command argument fixes that. The attached patch implements that, but using dh_auto_build would also fix the issue. Please consider applying the attached patch. Helmut
diff -u aa3d-1.0/debian/rules aa3d-1.0/debian/rules --- aa3d-1.0/debian/rules +++ aa3d-1.0/debian/rules @@ -6,6 +6,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk +DEB_MAKE_EXTRA_ARGS += 'CC=$(CC)' + install/aa3d:: install aa3d $(CURDIR)/debian/aa3d/usr/bin install -m 0644 logo pyramid $(CURDIR)/debian/aa3d/usr/share/aa3d diff -u aa3d-1.0/debian/changelog aa3d-1.0/debian/changelog --- aa3d-1.0/debian/changelog +++ aa3d-1.0/debian/changelog @@ -1,3 +1,10 @@ +aa3d (1.0-8.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass CC as command argument. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 20 Jul 2018 17:38:15 +0200 + aa3d (1.0-8) unstable; urgency=low * Add 'Depends: ${misc:Depends}' (lintian).