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:
parent
f89b727567
commit
be2169d587
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user