svn commit: r272367 - head/sys/modules/zfs
Will Andrews
will at FreeBSD.org
Wed Oct 1 15:34:49 UTC 2014
Author: will
Date: Wed Oct 1 15:34:48 2014
New Revision: 272367
URL: https://svnweb.freebsd.org/changeset/base/272367
Log:
Instead of requiring an edit to turn on ZFS debugging, define ZFS_DEBUG.
MFC after: 1 month
Modified:
head/sys/modules/zfs/Makefile
Modified: head/sys/modules/zfs/Makefile
==============================================================================
--- head/sys/modules/zfs/Makefile Wed Oct 1 15:32:28 2014 (r272366)
+++ head/sys/modules/zfs/Makefile Wed Oct 1 15:34:48 2014 (r272367)
@@ -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>
More information about the svn-src-all
mailing list