Source: ticker
Version: 1.12
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

ticker fails to cross build from source, because the upstream Makefile
hard codes the build architecture compiler gcc. The configure script
correctly detects the cross compiler. Please consider applying the
attached patch to make the Makefile use the detected compiler.

Helmut
diff --minimal -Nru ticker-1.12/Makefile ticker-1.13/Makefile
--- ticker-1.12/Makefile        2020-09-21 00:38:18.000000000 +0200
+++ ticker-1.13/Makefile        2021-01-10 22:35:21.000000000 +0100
@@ -8,7 +8,7 @@
 
 all: ticker
 ticker: ticker.c
-       gcc ticker.c -o ticker $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) $(LIBS)
+       $(CC) ticker.c -o ticker $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) $(LIBS)
 
 demo: ticker
        PATH=.:$$PATH ./ticker "This is a test..."
diff --minimal -Nru ticker-1.12/debian/changelog ticker-1.13/debian/changelog
--- ticker-1.12/debian/changelog        2020-09-22 21:33:03.000000000 +0200
+++ ticker-1.13/debian/changelog        2021-01-10 22:35:23.000000000 +0100
@@ -1,3 +1,9 @@
+ticker (1.13) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Make gcc substitutable. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 10 Jan 2021 22:35:23 +0100
+
 ticker (1.12) unstable; urgency=medium
 
   * QA upload.

Reply via email to