summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index be1e513..229bb77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,6 +89,8 @@ AX_CHECK_COMPILE_FLAG([-DTFM_TIMING_RESISTANT],
AX_CHECK_COMPILE_FLAG([-DECC_TIMING_RESISTANT],
[AX_APPEND_FLAG([-DECC_TIMING_RESISTANT])])
+AX_CHECK_COMPILE_FLAG([-Os], [AX_APPEND_FLAG([-Os])])
+
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([WOLFSSL], [wolfssl])
WOLFSSL_CFLAGS="$(printf ' %s' "${WOLFSSL_CFLAGS}" | \