summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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