summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 03:30:12 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 03:30:12 (EDT)
commitfe092b78d8777040061ce6e0387329ab97b082fe (patch)
treeaad47a91aa549a0b5ccedafc6dc22ed814bf6f01
parent59ea14fe7226195a0f8e29187482d58be4da4ba6 (diff)
build: Unconditionally harden timing
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 567efaf..7d32979 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,10 +85,8 @@ 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])])
+AX_APPEND_FLAG([-DTFM_TIMING_RESISTANT])
+AX_APPEND_FLAG([-DECC_TIMING_RESISTANT])
AX_CHECK_COMPILE_FLAG([-Os], [AX_APPEND_FLAG([-Os])])