diff --git a/makefiles/cflags.inc.mk b/makefiles/cflags.inc.mk index bfd486e03f..f91d1a3bea 100644 --- a/makefiles/cflags.inc.mk +++ b/makefiles/cflags.inc.mk @@ -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++