Add NDEBUG to CPPFLAGS if --enable-debug is unset.

This commit is contained in:
Juan RP
2013-12-06 11:55:08 +01:00
parent e23c64bc84
commit 1f16a22791
2 changed files with 2 additions and 4 deletions

2
configure vendored
View File

@@ -200,6 +200,8 @@ if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then
echo "Building with debugging symbols."
echo "CPPFLAGS += -DDEBUG" >>$CONFIG_MK
echo "CFLAGS += -g" >>$CONFIG_MK
else
echo "CPPFLAGS+= -DNDEBUG" >>$CONFIG_MK
fi
case "$OS" in