Commit 1b6f5ae1 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Add -DNDEBUG to CXXFLAGS to disable assert() when --enable-debug is not being used

parent 53e686e5
......@@ -44,13 +44,15 @@ AC_MSG_CHECKING(whether to enable debug info...)
AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],[compile debug information [default=disabled] ])],
if test $enableval = yes; then
[AC_DEFINE([DEBUG], 1, [compile debug info])]
[CXXFLAGS=" ${CXXFLAGS} -ggdb3"]
dnl enable c++11
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment