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

12 lines
353 B
Diff

--- Makefile.orig 2016-05-24 11:36:01.042181370 +0200
+++ 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) $<