]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Makefile: make warnings into errors
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 4 Feb 2013 16:51:44 +0000 (08:51 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 4 Feb 2013 16:51:44 +0000 (08:51 -0800)
Don't let contributions cause warnings.

Makefile

index 46a5ad9b913044f4a8825ce68ad1c04046c3f74c..6ba36e8dbc4ddd700916b18d92abc0d536c9eb66 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ CC = gcc
 HOSTCC = gcc
 DEFINES += -D_GNU_SOURCE
 CCOPTS = -O2
-WFLAGS = -Wall -Wstrict-prototypes
+WFLAGS = -Wall -Wstrict-prototypes -Werror
 CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
 YACCFLAGS = -d -t -v