naccyde / rpms / iproute

Forked from rpms/iproute 10 months ago
Clone

Blame SOURCES/iproute2-3.8.0-optflags.patch

5ebd6f
diff --git a/Makefile b/Makefile
5ebd6f
index 5edffc0..898b572 100644
5ebd6f
--- a/Makefile
5ebd6f
+++ b/Makefile
5ebd6f
@@ -34,7 +34,7 @@ CCOPTS = -O2
5ebd6f
 WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
5ebd6f
 WFLAGS += -Wmissing-declarations -Wold-style-definition
5ebd6f
 
5ebd6f
-CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
5ebd6f
+CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(RPM_OPT_FLAGS)
5ebd6f
 YACCFLAGS = -d -t -v
5ebd6f
 
5ebd6f
 SUBDIRS=lib ip tc bridge misc netem genl man