iproute/iproute2-3.5.0-optflags.patch
2012-08-02 16:08:46 +02:00

14 lines
395 B
Diff

diff --git a/Makefile b/Makefile
index ea0f994..2cc8e6a 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ HOSTCC = gcc
DEFINES += -D_GNU_SOURCE
CCOPTS = -O2
WFLAGS = -Wall -Wstrict-prototypes
-CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
+CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(RPM_OPT_FLAGS)
YACCFLAGS = -d -t -v
SUBDIRS=lib ip tc bridge misc netem genl man