iproute/iproute2-3.8.0-unused-result.patch

14 lines
428 B
Diff
Raw Normal View History

2013-02-27 15:40:39 +00:00
diff --git a/Makefile b/Makefile
index 898b572..70a6e14 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ CC = gcc
HOSTCC = gcc
DEFINES += -D_GNU_SOURCE
CCOPTS = -O2
-WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
+WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
WFLAGS += -Wmissing-declarations -Wold-style-definition
CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(RPM_OPT_FLAGS)