diff --git a/configure b/configure index ae37d92..79a0d4e 100755 --- a/configure +++ b/configure @@ -16686,6 +16686,10 @@ if test "${enable_debug+set}" = set; then : debugbuild="y" CXXFLAGS="${CXXFLAGS} -ggdb -O0" +else + + CXXFLAGS="${CXXFLAGS} -DNDEBUG -DwxDEBUG_LEVEL=0" + fi diff --git a/configure.ac b/configure.ac index b2f170c..0ce29db 100755 --- a/configure.ac +++ b/configure.ac @@ -98,6 +98,8 @@ AC_ARG_ENABLE(debug, [ debugbuild="y" CXXFLAGS="${CXXFLAGS} -ggdb -O0" +], [ + CXXFLAGS="${CXXFLAGS} -DNDEBUG -DwxDEBUG_LEVEL=0" ]) # Check pcre is available diff --git a/src/.cproject b/src/.cproject index 2a0f303..0acb74e 100644 --- a/src/.cproject +++ b/src/.cproject @@ -4,20 +4,20 @@ + - + - - + @@ -27,16 +27,16 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -