summaryrefslogtreecommitdiff
path: root/package/vnstat/patches/patch-src_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/vnstat/patches/patch-src_Makefile')
-rw-r--r--package/vnstat/patches/patch-src_Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/vnstat/patches/patch-src_Makefile b/package/vnstat/patches/patch-src_Makefile
new file mode 100644
index 000000000..54415ddad
--- /dev/null
+++ b/package/vnstat/patches/patch-src_Makefile
@@ -0,0 +1,9 @@
+--- vnstat-1.4.orig/src/Makefile 2004-03-26 14:25:51.000000000 +0100
++++ vnstat-1.4/src/Makefile 2011-01-22 00:05:41.408658273 +0100
+@@ -1,5 +1,5 @@
+ CC = gcc
+-CFLAGS = -O2
++CFLAGS ?= -O2
+ OBJS = proc.o db.o misc.o
+ OBJS64 = proc64.o db.o misc.o
+