summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 85e7f4a..be1e513 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,6 +84,11 @@ if test "x${address_sanitization}" = 'xyes'; then
AC_SUBST([ASAN_CFLAGS])
fi
+AX_CHECK_COMPILE_FLAG([-DTFM_TIMING_RESISTANT],
+ [AX_APPEND_FLAG([-DTFM_TIMING_RESISTANT])])
+AX_CHECK_COMPILE_FLAG([-DECC_TIMING_RESISTANT],
+ [AX_APPEND_FLAG([-DECC_TIMING_RESISTANT])])
+
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([WOLFSSL], [wolfssl])
WOLFSSL_CFLAGS="$(printf ' %s' "${WOLFSSL_CFLAGS}" | \