Instead of requiring an edit to turn on ZFS debugging, define ZFS_DEBUG.
MFC after: 1 month
This commit is contained in:
parent
9832a24d27
commit
afb13fc22f
@ -94,8 +94,10 @@ CFLAGS+=-DBUILDING_ZFS
|
||||
CFLAGS+=-mminimal-toc
|
||||
.endif
|
||||
|
||||
#CFLAGS+=-DDEBUG=1
|
||||
#DEBUG_FLAGS=-g
|
||||
.ifdef ZFS_DEBUG
|
||||
CFLAGS+=-DDEBUG=1
|
||||
DEBUG_FLAGS=-g
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user