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

12 lines
330 B
Diff
Raw Normal View History

--- 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