iproute/iproute2-3.5.0-optflags.patch

14 lines
395 B
Diff
Raw Normal View History

2012-05-22 13:20:38 +00:00
diff --git a/Makefile b/Makefile
2012-08-02 14:08:46 +00:00
index ea0f994..2cc8e6a 100644
2012-05-22 13:20:38 +00:00
--- 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
2012-08-02 14:08:46 +00:00
SUBDIRS=lib ip tc bridge misc netem genl man