iproute/iproute2-3.4.0-optflags.patch

14 lines
388 B
Diff
Raw Normal View History

2012-05-22 13:20:38 +00:00
diff --git a/Makefile b/Makefile
index 1e15c72..945d3b3 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 misc netem genl man