LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File iproute2-optflags.patch of Package collectd (Project server:monitoring)

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