iproute/iproute2-3.15.0-optflags.patch

14 lines
448 B
Diff
Raw Normal View History

2013-10-22 06:23:05 +00:00
diff --git a/Makefile b/Makefile
2014-06-12 11:30:21 +00:00
index c881200..e8eeeb7 100644
2013-10-22 06:23:05 +00:00
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ CCOPTS = -O2
WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
2014-06-12 11:30:21 +00:00
WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2
2013-10-22 06:23:05 +00:00
-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