[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tor-cvs
Subject:    [tor-commits] [tor/main] configure.ac: Define ENABLE_FRAGILE_HARDENING macro
From:       nickm () torproject ! org
Date:       2021-09-29 21:29:52
Message-ID: 20210929212952.82CF7100457 () cupani ! torproject ! org
[Download RAW message or body]

commit 352677556e14480753f75e8abe1f584f1580f1b2
Author: Simon South <simon@simonsouth.net>
Date:   Wed Sep 22 14:42:45 2021 -0400

    configure.ac: Define ENABLE_FRAGILE_HARDENING macro
    
    Allow conditional compilation based on whether the
    "--enable-fragile-hardening" configure option was specified.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 23ba4b0d2d..b4617a4003 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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]))  if test "x$enable_expensive_hardening" = \
"xyes" || test "x$enable_fragile_hardening" = "xyes"; then  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])  fi
 



_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic