From 8ecbffde5f4891fbf6891a6efd1e246494a4d73f Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Tue, 19 Jul 2016 11:10:50 -0400 Subject: build: Compile with optimizations --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ddb7ec6..ab52685 100644 --- a/configure.ac +++ b/configure.ac @@ -166,6 +166,9 @@ AX_APPEND_COMPILE_FLAGS([ \ ]) dnl TODO: Fix last two hidden warnings +AS_IF([test "$enable_debug" = "no"], [ + AX_APPEND_COMPILE_FLAGS([-O2]) +]) AC_CONFIG_FILES([ Makefile -- cgit v1.2.3