]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Enable DEBUG_SMARTLIST for entire codebase when expensive hardening is on
authorrl1987 <rl1987@sdf.lonestar.org>
Sun, 3 Jun 2018 11:48:20 +0000 (14:48 +0300)
committerNick Mathewson <nickm@torproject.org>
Wed, 20 Jun 2018 11:49:41 +0000 (07:49 -0400)
configure.ac

index 48ca5bae1404fc3025e76e694888e5628c235d77..1b57361e02a39487c59fb8176f8743478d02f665 100644 (file)
@@ -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