build: use higher performance debug optimisations

This commit is contained in:
Danny Robson 2015-07-14 16:35:28 +10:00
parent abf88710b4
commit f29e77c795

View File

@ -58,7 +58,7 @@ AC_DEFUN([NC_DEBUGGING],[
AC_DEFINE([ENABLE_DEBUGGING], [], [Debugging support enabled]) AC_DEFINE([ENABLE_DEBUGGING], [], [Debugging support enabled])
AC_DEFINE([_GLIBCXX_DEBUG], [], [Use glibcxx debugging mode]) AC_DEFINE([_GLIBCXX_DEBUG], [], [Use glibcxx debugging mode])
NC_APPEND_ONE_COMPILE_FLAG([-O0]) NC_APPEND_ONE_COMPILE_FLAG([-Og -O0])
], [ ], [
AX_APPEND_COMPILE_FLAGS([-O2]) AX_APPEND_COMPILE_FLAGS([-O2])
]) ])