diff options
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r-- | share/mk/bsd.prog.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 2485a90..4f241e8 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -10,6 +10,10 @@ CFLAGS+=${COPTS} .endif +.if ${MK_ASSERT_DEBUG} == "no" +CFLAGS+= -DNDEBUG +.endif + .if defined(DEBUG_FLAGS) CFLAGS+=${DEBUG_FLAGS} .endif |