summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-02-04 08:51:44 -0800
committerStephen Hemminger <stephen@networkplumber.org>2013-02-04 08:51:44 -0800
commit5a650703d47e10aa386406c855eff5a593b2120b (patch)
tree27f0f466119b65811aa52e93497bf9c0abe916fe /Makefile
parent9a7b3d91b69ea9c3c128d973c4bda2324da1a795 (diff)
downloadiproute2-5a650703d47e10aa386406c855eff5a593b2120b.tar.gz
Makefile: make warnings into errors
Don't let contributions cause warnings.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 46a5ad9b..6ba36e8d 100644
--- 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