diff --git a/Makefile b/Makefile index 8f23ef61..23cb6c07 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ ifneq (,$(findstring clang,$(CC_VERSION))) -Wno-enum-conversion endif -ifdef D +ifdef BCACHEFS_DEBUG CFLAGS+=-Werror CFLAGS+=-DCONFIG_BCACHEFS_DEBUG=y endif