summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2020-05-15 01:59:42 +0300
committerStijn Tintel <stijn@linux-ipv6.be>2021-05-24 23:34:38 +0300
commitcec9ecc7e0575c7c88bd048e1d24549a6b3c8fe6 (patch)
treefdd40df9dcee31babc8efec8ae4e96185435aaa5 /Makefile
parent09021c38d3ffd53c54664a5cbabc3c6a37c46960 (diff)
Makefile: rename D to BCACHEFS_DEBUG
BCACHEFS_DEBUG is far more descriptive. D also conflicts with the D variable used in Gentoo ebuilds. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'Makefile')
-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