void-packages/srcpkgs/atop/patches/fix-cflags.patch

12 lines
329 B
Diff

--- a/Makefile 2016-02-26 23:20:11.536799936 +0100
+++ b/Makefile 2016-02-26 23:20:19.545799337 +0100
@@ -39,7 +39,7 @@ atopacctd: atopacctd.o netlink.o
$(CC) atopacctd.o netlink.o -o atopacctd $(LDFLAGS)
netlink.o: netlink.c
- $(CC) -I. -Wall -c netlink.c
+ $(CC) -I. -Wall -c netlink.c $(CFLAGS)
clean:
rm -f *.o