iproute/iproute2-3.8.0-unused-result.patch
2013-02-27 16:40:39 +01:00

14 lines
428 B
Diff

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)