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>
This commit is contained in:
Stijn Tintel 2020-05-15 01:59:42 +03:00
parent 09021c38d3
commit cec9ecc7e0

View File

@ -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