Source: purity
Version: 1-20
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

purity fails to cross build from source, because the upstream Makefile
hard codes plain "cc". After making it substitutable, purity cross
builds successfully. Please consider applying the attached patch.

Helmut
--- purity-1.orig/Makefile
+++ purity-1/Makefile
@@ -20,7 +20,7 @@
 LIBS =
 
 purity: pt.c pt.h
-	cc $(CFLAGS) -DLIBDIR=\"$(LIBDIR)\" -o purity pt.c $(LIBS)
+	$(CC) $(CFLAGS) -DLIBDIR=\"$(LIBDIR)\" -o purity pt.c $(LIBS)
 
 clean:
 	rm -f purity *.o

Reply via email to