diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a199eb1..699954a 100644 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,8 @@ AC_ARG_ENABLE([debug], ) AS_IF([test "x$enable_debug" = "xyes"], [ DEBUG_CXXFLAGS="-DDEBUG -g" + CXXFLAGS="$CXXFLAGS -O0" + CFLAGS="$CFLAGS -O0" ], [ DEBUG_CXXFLAGS="-DNDEBUG" ]) |