break compilation on warnings as well

This commit is contained in:
Alexey Fedoseev
2024-04-22 21:47:17 +03:00
parent 54e2adc0fd
commit 04d87a3566

View File

@@ -18,7 +18,7 @@ TEST_OBJECTS := $(patsubst %.cpp, %.o, $(TEST_SOURCES))
TEST_TARGETS := $(patsubst %.cpp, %.test, $(TEST_SOURCES))
ifeq ($(DEBUG), 1)
CFLAGS := -Wall -Wshadow -Wconversion -fPIC -g3 -D__DEBUG__
CFLAGS := -Werror -Wall -Wshadow -Wconversion -fPIC -g3 -D__DEBUG__
LFLAGS :=
else
CFLAGS := -fPIC