1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Avoid hardcoded gcc in Makefile to allow cross-building
Author: Helmut Grohne
Forwarded: no
Bugs-Debian: https://bugs.debian.org/928898
Reviewed-By: Petter Reinholdtsen <pere@debian.org>
Last-Update: 2021-09-25
===
Index: t2n-git/Makefile
===================================================================
--- t2n-git.orig/Makefile 2024-04-15 18:08:27.366088476 +0200
+++ t2n-git/Makefile 2024-04-15 18:08:36.406192576 +0200
@@ -41,7 +41,7 @@
$(OBJDIR)/ezargs.o
$(OBJDIR)/usbscan: $(SRCDIR)/usbscan.c
- gcc $(CFLAGS) -Wno-unused-but-set-variable $(LDFLAGS) $(SRCDIR)/usbscan.c $(LIBS) -o $(OBJDIR)/usbscan
+ $(CC) $(CFLAGS) -Wno-unused-but-set-variable $(LDFLAGS) $(SRCDIR)/usbscan.c $(LIBS) -o $(OBJDIR)/usbscan
$(OBJDIR)/$(MAIN) : $(OBJS)
$(LK) $(LDFLAGS) $(OBJS) $(LIBS) -o $(OBJDIR)/$(MAIN)
|