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

to see "warning: unused variable `foo'".
This commit is contained in:
obrien 2006-09-13 23:27:21 +00:00
parent 9dd4326763
commit eb84049d81
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)