[tor/master] On Linux (and some other systems) we need -rdynamic for backtraces

18 Nov
2013
18 Nov
'13
4:04 p.m.
commit b0023083c413c6447ef34cf3c6cfaf54a1cc8793 Author: Nick Mathewson <nickm@torproject.org> Date: Fri Jul 19 14:18:43 2013 -0400 On Linux (and some other systems) we need -rdynamic for backtraces --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 5059079..8e247db 100644 --- a/configure.ac +++ b/configure.ac @@ -593,6 +593,9 @@ if test x$enable_linker_hardening != xno; then TOR_CHECK_LDFLAGS(-z relro -z now, "$all_ldflags_for_check", "$all_libs_for_check") fi +# For backtrace support +TOR_CHECK_LDFLAGS(-rdynamic) + dnl ------------------------------------------------------ dnl Now see if we have a -fomit-frame-pointer compiler option.
4204
Age (days ago)
4204
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org