[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941435: osdclock FTCBFS: builds for the build architecture



Source: osdclock
Version: 0.5-24
Tags: patch
User: debian-cross@list.debian.org
Usertags: ftcbfs

osdclock fails to cross build from source, because it does not pass
cross tools to make. The easiest way of fixing that - using
dh_auto_build - makes osdclock cross buildable. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru osdclock-0.5/debian/changelog osdclock-0.5/debian/changelog
--- osdclock-0.5/debian/changelog	2017-07-08 13:36:56.000000000 +0200
+++ osdclock-0.5/debian/changelog	2019-09-30 16:39:47.000000000 +0200
@@ -1,3 +1,9 @@
+osdclock (0.5-25) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 30 Sep 2019 16:39:47 +0200
+
 osdclock (0.5-24) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru osdclock-0.5/debian/rules osdclock-0.5/debian/rules
--- osdclock-0.5/debian/rules	2017-07-08 13:36:44.000000000 +0200
+++ osdclock-0.5/debian/rules	2019-09-30 16:39:46.000000000 +0200
@@ -25,9 +25,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
-
-	$(MAKE) DCFLAGS="$(CFLAGS)"
-
+	dh_auto_build -- DCFLAGS="$(CFLAGS)"
 	touch build-stamp
 
 install:

Reply to: