[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#923279: purity FTCBFS: upstream Makefile hard codes "cc"



Source: purity
Version: 1-20
Tags: patch upstream
User: helmutg@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 to: