When building WITHOUT_ASSERT_DEBUG, we need to disable -Werror as its easy
to see "warning: unused variable `foo'".
This commit is contained in:
parent
9dd4326763
commit
eb84049d81
@ -30,6 +30,7 @@ CFLAGS+= ${CRUNCH_CFLAGS}
|
||||
|
||||
.if ${MK_ASSERT_DEBUG} == "no"
|
||||
CFLAGS+= -DNDEBUG
|
||||
NO_WERROR=
|
||||
.endif
|
||||
|
||||
.if defined(DEBUG_FLAGS)
|
||||
|
@ -12,6 +12,7 @@ CFLAGS+=${COPTS}
|
||||
|
||||
.if ${MK_ASSERT_DEBUG} == "no"
|
||||
CFLAGS+= -DNDEBUG
|
||||
NO_WERROR=
|
||||
.endif
|
||||
|
||||
.if defined(DEBUG_FLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user