SHA256
1
0
forked from pool/collectd
collectd/iproute2-optflags.patch
2011-02-03 01:08:32 +00:00

15 lines
431 B
Diff

--- Makefile.orig 2009-05-13 21:06:21.000000000 +0200
+++ Makefile 2009-05-13 21:06:44.000000000 +0200
@@ -22,8 +22,9 @@
CC = gcc
HOSTCC = gcc
-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-CFLAGS = $(CCOPTS) -I../include $(DEFINES)
+OPTFLAGS = -O2 -g
+CCOPTS = -D_GNU_SOURCE -Wstrict-prototypes -Wall
+CFLAGS = $(CCOPTS) -I../include $(DEFINES) $(OPTFLAGS)
YACCFLAGS = -d -t -v
LDLIBS += -L../lib -lnetlink -lutil