iproute/iproute2-3.8.0-optflags.patch

14 lines
444 B
Diff
Raw Normal View History

2012-05-22 13:20:38 +00:00
diff --git a/Makefile b/Makefile
2013-02-27 15:40:39 +00:00
index 5edffc0..898b572 100644
2012-05-22 13:20:38 +00:00
--- a/Makefile
+++ b/Makefile
2013-02-27 15:40:39 +00:00
@@ -34,7 +34,7 @@ CCOPTS = -O2
WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
WFLAGS += -Wmissing-declarations -Wold-style-definition
2012-05-22 13:20:38 +00:00
-CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
+CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(RPM_OPT_FLAGS)
YACCFLAGS = -d -t -v
2012-08-02 14:08:46 +00:00
SUBDIRS=lib ip tc bridge misc netem genl man