mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
configure.ac: Define ENABLE_FRAGILE_HARDENING macro
Allow conditional compilation based on whether the "--enable-fragile-hardening" configure option was specified.
This commit is contained in:
parent
ecb91e75e4
commit
352677556e
@ -233,6 +233,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(ENABLE_FRAGILE_HARDENING, 1, [Defined if we're building with additional, fragile and expensive compiler hardening])
|
||||||
AC_DEFINE(DEBUG_SMARTLIST, 1, [Enable smartlist debugging])
|
AC_DEFINE(DEBUG_SMARTLIST, 1, [Enable smartlist debugging])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user