When building WITHOUT_ASSERT_DEBUG, we need to disable -Werror as its easy

to see "warning: unused variable `foo'".
This commit is contained in:
David E. O'Brien 2006-09-13 23:27:21 +00:00
parent 2511ffba93
commit e2e1ab1c94
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162293
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ CFLAGS+= ${CRUNCH_CFLAGS}
.if ${MK_ASSERT_DEBUG} == "no"
CFLAGS+= -DNDEBUG
NO_WERROR=
.endif
.if defined(DEBUG_FLAGS)

View File

@ -12,6 +12,7 @@ CFLAGS+=${COPTS}
.if ${MK_ASSERT_DEBUG} == "no"
CFLAGS+= -DNDEBUG
NO_WERROR=
.endif
.if defined(DEBUG_FLAGS)