]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Remove -Werror
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Aug 2013 00:42:39 +0000 (17:42 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Aug 2013 00:42:39 +0000 (17:42 -0700)
-Werror just doesn't work because it changes too much
between compiler versions.

Makefile

index d4eed713cb8596a80471e65b8bdb0c3ba01f0fba..543d9e8e1c4cc964a96b24b69ae6d8ba8606cad2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,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)