Source: te923con
Version: 0.6.1-4
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

te923con fails to cross build from source, because the upstream Makefile
hard codes the build architecture compiler gcc. Please consider applying
the attached patch to make gcc substitutable and te923con cross
buildable.

Helmut
--- te923con-0.6.1.orig/Makefile
+++ te923con-0.6.1/Makefile
@@ -6,6 +6,6 @@
 all: te923con
 
 te923con: te923con.c te923con.h te923usb.c te923usb.h te923com.c te923com.h
-	gcc $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) -Wall -o te923con te923con.c te923usb.c te923com.c -lusb
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) -Wall -o te923con te923con.c te923usb.c te923com.c -lusb
 
 

Reply via email to