Enable DEBUG_SMARTLIST for entire codebase when expensive hardening is on

This commit is contained in:
rl1987
2018-06-03 14:48:20 +03:00
committed by Nick Mathewson
parent 9054ccb36b
commit 9f2b887c5d
+1
View 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