summaryrefslogtreecommitdiff
path: root/package/network/utils/iproute2/patches/000-warnings.patch
blob: 8f07c3896bb52f043b51ba590f20bdca2205a8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,7 @@ CC = gcc
 HOSTCC = gcc
 DEFINES += -D_GNU_SOURCE
 CCOPTS = -O2
-WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
-WFLAGS += -Wmissing-declarations -Wold-style-definition
+WFLAGS := -Wall -Wstrict-prototypes
 
 CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
 YACCFLAGS = -d -t -v