Browse Source

Enable DEBUG_SMARTLIST for entire codebase when expensive hardening is on

rl1987 6 years ago
parent
commit
9f2b887c5d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -176,6 +176,7 @@ AC_ARG_ENABLE(fragile-hardening,
     AS_HELP_STRING(--enable-fragile-hardening, [enable more fragile and expensive compiler hardening; makes Tor slower]))
 if test "x$enable_expensive_hardening" = "xyes" || test "x$enable_fragile_hardening" = "xyes"; then
   fragile_hardening="yes"
+  AC_DEFINE(DEBUG_SMARTLIST, 1, [Enable smartlist debugging])
 fi
 
 dnl Linker hardening options