]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Makefile: rename D to BCACHEFS_DEBUG
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 14 May 2020 22:59:42 +0000 (01:59 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Mon, 24 May 2021 20:34:38 +0000 (23:34 +0300)
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>
Makefile

index 8f23ef6179cb1c9787d3b24e79d016f8df994172..23cb6c0712095e97367f2280949c7db0ef75c40f 100644 (file)
--- 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