void-packages/srcpkgs/visitors/patches/fix-ldflags.patch

12 lines
352 B
Diff

--- a/Makefile 2016-05-24 11:36:01.042181370 +0200
+++ b/Makefile 2016-05-24 11:36:11.309180602 +0200
@@ -14,7 +14,7 @@ all: visitors
visitors.o: visitors.c blacklist.h
visitors: $(OBJ)
- $(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ)
+ $(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ) $(LDFLAGS)
.c.o:
$(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $<