Source: dazzdb
Version: 1.0+git20190616.034f1ab-1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

dazzdb fails to cross build from source, because the upstream Makefile
hard codes the build architecture compiler (gcc) in two occasions.
Please consider applying the attached patch to make it substitutable.

Helmut
--- dazzdb-1.0+git20190616.034f1ab.orig/Makefile
+++ dazzdb-1.0+git20190616.034f1ab/Makefile
@@ -53,10 +53,10 @@
 DBwipe: DBwipe.c DB.c DB.h QV.c QV.h
 
 DBa2b: DBa2b.c DB.c DB.h QV.c QV.h
-	gcc $(CFLAGS) -o DBa2b DBa2b.c DB.c QV.c -lm
+	$(CC) $(CFLAGS) -o DBa2b DBa2b.c DB.c QV.c -lm
 
 DBb2a: DBb2a.c DB.c DB.h QV.c QV.h
-	gcc $(CFLAGS) -o DBb2a DBb2a.c DB.c QV.c -lm
+	$(CC) $(CFLAGS) -o DBb2a DBb2a.c DB.c QV.c -lm
 
 clean:
 	rm -f $(ALL)

Reply via email to