1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/cflags.inc.mk: Remove WERROR duplicate handling

WERROR already sets -Werror so this is not necessary.
This commit is contained in:
Joakim Nohlgård 2018-06-14 23:38:36 +02:00 committed by Gaëtan Harter
parent f89b727567
commit be2169d587
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -40,9 +40,6 @@ ifeq ($(shell $(CC) -Wstrict-prototypes -Werror=strict-prototypes -Wold-style-de
# duplicated parameters don't hurt
CFLAGS += -Wstrict-prototypes -Wold-style-definition
CXXUWFLAGS += -Wstrict-prototypes -Wold-style-definition
ifeq ($(WERROR),1)
CFLAGS += -Werror=strict-prototypes -Werror=old-style-definition
endif
endif
# Unwanted flags for c++