add NOASSERTS make flag that disables assert()s (NDEBUG=1).
. made some checks in vfs/vnode.c also respond to NDEBUG=1. . turned on in release builds
This commit is contained in:
@@ -16,6 +16,10 @@ AFLAGS += ${SMP_FLAGS}
|
||||
MAKECONF?= /etc/make.conf
|
||||
.-include "${MAKECONF}"
|
||||
|
||||
.ifdef NOASSERTS
|
||||
CFLAGS += -DNDEBUG=1
|
||||
.endif
|
||||
|
||||
#
|
||||
# CPU model, derived from MACHINE_ARCH
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user