diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-20 11:34:44 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-22 08:50:59 +0200 |
commit | 4c01c0510e9be29c7d81bb72fb7c2eb20f191571 (patch) | |
tree | 2364874c9e531a65a9c9c7d1dce060beee9a5c9f | |
parent | 8ee6d82da3fbf5676c9bbcddaa6e3e5538900b35 (diff) |
Disable optimization in debug buildlibvisio-0.0.18
-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" ]) |