Source: cutter
Version: 1.04-1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

cutter fails to cross build from source, because the upstream Makefile
hard codes the build architecture compiler cc. The attached patch makes
it substitutable and after applying it cutter becomes cross buildable.

Helmut
--- cutter-1.04.orig/Makefile
+++ cutter-1.04/Makefile
@@ -1,5 +1,5 @@
 cutter: cutter.c
-	cc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) cutter.c -o cutter
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) cutter.c -o cutter
 
 clean:
 	rm -f cutter.o cutter

Reply via email to