From fe092b78d8777040061ce6e0387329ab97b082fe Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 30 Jul 2019 03:30:12 -0400 Subject: build: Unconditionally harden timing --- 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])]) -- cgit v0.9.1