From da1d3924cc9972d18a87e06c7d66bced920dc5e5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 30 Jul 2019 00:26:53 -0400 Subject: build: Use -Os flag --- 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}" | \ -- cgit v0.9.1