Source: genromfs
Version: 0.5.2-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

genromfs 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 genromfs cross buildable. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru genromfs-0.5.2/debian/changelog 
genromfs-0.5.2/debian/changelog
--- genromfs-0.5.2/debian/changelog     2019-08-21 14:16:21.000000000 +0200
+++ genromfs-0.5.2/debian/changelog     2019-08-25 21:03:51.000000000 +0200
@@ -1,3 +1,10 @@
+genromfs (0.5.2-4.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>  Sun, 25 Aug 2019 21:03:51 +0200
+
 genromfs (0.5.2-4) unstable; urgency=low
 
   * Make it work in hurd-i386
diff --minimal -Nru genromfs-0.5.2/debian/rules genromfs-0.5.2/debian/rules
--- genromfs-0.5.2/debian/rules 2019-08-21 14:00:03.000000000 +0200
+++ genromfs-0.5.2/debian/rules 2019-08-25 21:03:50.000000000 +0200
@@ -13,7 +13,7 @@
 build-indep: build-stamp
 build-stamp:
        dh_testdir
-       $(MAKE) CFLAGS="$(CFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS)"
        touch build-stamp
 
 clean:

Reply via email to