Source: onesixtyone
Version: 0.3.3~git20190328-1
Tags: patch upstream

onesixtyone fails to cross build from source, because the upstream
Makefile hard codes the build architecture compiler "gcc". Making it
substitutable is sufficient for making onesixtyone cross buildable.
Please consider applying the attached patch.

Helmut
--- onesixtyone-0.3.3~git20190328.orig/Makefile
+++ onesixtyone-0.3.3~git20190328/Makefile
@@ -1,5 +1,5 @@
 onesixtyone: onesixtyone.c
-	gcc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o onesixtyone onesixtyone.c
+	$(CC) $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o onesixtyone onesixtyone.c
 
 solaris: onesixtyone.c
 	cc -o onesixtyone onesixtyone.c -lsocket -lnsl

Reply via email to