diff --git a/Makefile b/Makefile index d96dee283..c1840c201 100644 --- a/Makefile +++ b/Makefile @@ -216,10 +216,6 @@ default: all WARNING_FLAGS = -W -Wextra -Wall -Wsign-compare -Wshadow \ -Wno-unused-parameter -ifndef DISABLE_WARNING_AS_ERROR - WARNING_FLAGS += -Werror -endif - CFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CCFLAGS) $(OPT) CXXFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CXXFLAGS) $(OPT) -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers