瀏覽代碼

On Linux (and some other systems) we need -rdynamic for backtraces

Nick Mathewson 12 年之前
父節點
當前提交
b0023083c4
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      configure.ac

+ 3 - 0
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.