mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-12-03 14:53:42 +08:00
Remove -Werror
-Werror just doesn't work because it changes too much between compiler versions.
This commit is contained in:
parent
77620be89a
commit
3140e9a3a3
2
Makefile
2
Makefile
@ -30,7 +30,7 @@ CC = gcc
|
|||||||
HOSTCC = gcc
|
HOSTCC = gcc
|
||||||
DEFINES += -D_GNU_SOURCE
|
DEFINES += -D_GNU_SOURCE
|
||||||
CCOPTS = -O2
|
CCOPTS = -O2
|
||||||
WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
|
WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||||
WFLAGS += -Wmissing-declarations -Wold-style-definition
|
WFLAGS += -Wmissing-declarations -Wold-style-definition
|
||||||
|
|
||||||
CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
|
CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
|
||||||
|
Loading…
Reference in New Issue
Block a user