iproute/iproute2-3.11.0-optflags.patch
Petr Šabata 1a254c6d5e 3.11 bump
2013-10-22 15:23:05 +09:00

14 lines
437 B
Diff

diff --git a/Makefile b/Makefile
index 95266f5..1876ec4 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ CCOPTS = -O2
WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
WFLAGS += -Wmissing-declarations -Wold-style-definition
-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