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

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])) 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 if test "x$enable_expensive_hardening" = "xyes" || test "x$enable_fragile_hardening" = "xyes"; then
fragile_hardening="yes" fragile_hardening="yes"
AC_DEFINE(DEBUG_SMARTLIST, 1, [Enable smartlist debugging])
fi fi
dnl Linker hardening options dnl Linker hardening options