[tor-commits] [tor/master] On Linux (and some other systems) we need -rdynamic for backtraces
nickm at torproject.org
nickm at torproject.org
Mon Nov 18 16:04:37 UTC 2013
commit b0023083c413c6447ef34cf3c6cfaf54a1cc8793
Author: Nick Mathewson <nickm at 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.
More information about the tor-commits
mailing list