Control: tags -1 + patch

Dear maintainer,

the attached patch fixes the FTBFS with GCC 9.

Kind regards,
  Reiner
--- cycfx2prog-0.47.orig/Makefile
+++ cycfx2prog-0.47/Makefile
@@ -2,14 +2,14 @@
 VERSION = 0.47
 CFLAGS = -O2 -fno-rtti -fno-exceptions -DCYCFX2PROG_VERSION=\"$(VERSION)\" \
 	-W -Wall -Wformat
-LDFLAGS = -lusb
+LIBS = -lusb
 DIST_DEST = cycfx2prog-$(VERSION)
 
 all: cycfx2prog
 
 # NOTE: Also add sources to the "dist:" target!
 cycfx2prog: cycfx2prog.o cycfx2dev.o
-	$(CC) $(LDFLAGS) cycfx2prog.o cycfx2dev.o -o cycfx2prog
+	$(CC) $(LDFLAGS) cycfx2prog.o cycfx2dev.o -o cycfx2prog $(LIBS)
 
 clean:
 	-rm -f *.o

Attachment: signature.asc
Description: PGP signature

Reply via email to