mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 4 additions and 2 deletions
|
|
@ -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 a new issue