Author: Helmut Grohne <helmut@subdivi.de>
Date: Thu, 12 Nov 2020 20:15:04 UTC
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/974600
Description: Do not hard code the build architecture compiler

--- damapper-0.0+git20200322.b2c9d7f.orig/Makefile
+++ damapper-0.0+git20200322.b2c9d7f/Makefile
@@ -5,10 +5,10 @@
 all: $(ALL)
 
 damapper: damapper.c map.c map.h align.c align.h DB.c DB.h QV.c QV.h
-	gcc $(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) $(LDFLAGS) -o damapper damapper.c map.c align.c DB.c QV.c -lpthread -lm
+	$(CC) $(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) $(LDFLAGS) -o damapper damapper.c map.c align.c DB.c QV.c -lpthread -lm
 
 HPC.damapper: HPC.damapper.c DB.c DB.h QV.c QV.h
-	gcc $(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) $(LDFLAGS) -o HPC.damapper HPC.damapper.c DB.c QV.c -lm
+	$(CC) $(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) $(LDFLAGS) -o HPC.damapper HPC.damapper.c DB.c QV.c -lm
 
 clean:
 	rm -f $(ALL)
