build: add rdynamic to linking options for debug
rdynamic should allow us to get better backtrace data
This commit is contained in:
parent
bb3cbb584c
commit
b297f168f7
@ -166,6 +166,7 @@ AS_IF([test "x$enable_debugging" = "xyes"], [
|
|||||||
])
|
])
|
||||||
|
|
||||||
AX_APPEND_COMPILE_FLAGS([-ggdb], [], [-Werror])
|
AX_APPEND_COMPILE_FLAGS([-ggdb], [], [-Werror])
|
||||||
|
AX_APPEND_LINK_FLAGS([-rdynamic])
|
||||||
|
|
||||||
AC_DEFINE([ENABLE_DEBUGGING], [], [Debugging support enabled], [], [-Werror])
|
AC_DEFINE([ENABLE_DEBUGGING], [], [Debugging support enabled], [], [-Werror])
|
||||||
AC_DEFINE([_GLIBCXX_DEBUG], [], [Use glibcxx debugging mode], [], [-Werror])
|
AC_DEFINE([_GLIBCXX_DEBUG], [], [Use glibcxx debugging mode], [], [-Werror])
|
||||||
|
Loading…
Reference in New Issue
Block a user