summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 00:26:53 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 00:26:53 (EDT)
commitda1d3924cc9972d18a87e06c7d66bced920dc5e5 (patch)
tree83f550bc68b6ee9b0b5ac9e6c2125f6e0d7d392e
parentc8185dcb4d1952a5d26e1b228d88ca737d41021b (diff)
build: Use -Os flag
-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}" | \