Source: gspiceui
Version: 1.1.00+dfsg-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gspiceui fails to cross build from source, because it uses the build
architecture compiler as a make default. The easiest way of passing
cross compilers is letting dh_auto_build do it. After doing so, gspiceui
cross builds successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru gspiceui-1.1.00+dfsg/debian/changelog 
gspiceui-1.1.00+dfsg/debian/changelog
--- gspiceui-1.1.00+dfsg/debian/changelog       2018-01-25 10:45:49.000000000 
+0100
+++ gspiceui-1.1.00+dfsg/debian/changelog       2018-03-25 19:37:34.000000000 
+0200
@@ -1,3 +1,10 @@
+gspiceui (1.1.00+dfsg-2.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>  Sun, 25 Mar 2018 19:37:34 +0200
+
 gspiceui (1.1.00+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru gspiceui-1.1.00+dfsg/debian/rules 
gspiceui-1.1.00+dfsg/debian/rules
--- gspiceui-1.1.00+dfsg/debian/rules   2018-01-25 10:45:49.000000000 +0100
+++ gspiceui-1.1.00+dfsg/debian/rules   2018-03-25 19:37:34.000000000 +0200
@@ -17,7 +17,7 @@
        dh $@
 
 override_dh_auto_build:
-       CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE)
+       CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_build
 
 override_dh_auto_install:
        $(MAKE) DESTDIR=$(CURDIR)/debian/gspiceui/usr install

Reply via email to