Source: librtas Version: 2.0.0-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
librtas fails to cross build from source, because it does not pass cross tools to make. The easiest way of doing so - using dh_auto_build - makes librtas cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru librtas-2.0.0/debian/changelog librtas-2.0.0/debian/changelog --- librtas-2.0.0/debian/changelog 2016-07-04 13:52:18.000000000 +0200 +++ librtas-2.0.0/debian/changelog 2019-01-04 05:55:36.000000000 +0100 @@ -1,3 +1,10 @@ +librtas (2.0.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 04 Jan 2019 05:55:36 +0100 + librtas (2.0.0-2) unstable; urgency=medium * 02_errinjct.patch: Fix endianess issue with errinjct (LP: #1597363) diff --minimal -Nru librtas-2.0.0/debian/rules librtas-2.0.0/debian/rules --- librtas-2.0.0/debian/rules 2016-03-30 09:02:05.000000000 +0200 +++ librtas-2.0.0/debian/rules 2019-01-04 05:55:15.000000000 +0100 @@ -17,7 +17,7 @@ build-arch: build-arch-stamp build-arch-stamp: dh_testdir - CFLAGS="$(CPPFLAGS) $(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) + CFLAGS="$(CPPFLAGS) $(CFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_build touch $@ build-indep: