void-packages/srcpkgs/atop/patches/fix-cflags.patch
2016-02-28 20:45:14 +01:00

11 lines
330 B
Diff

--- Makefile.orig 2016-02-26 23:20:11.536799936 +0100
+++ 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