From 477f2e966b3001b6931853d5a504f729cd37a65c Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 28 Jan 2015 14:55:13 +1100 Subject: [PATCH] build: enable vectorizer options for release --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index cade5967..bb15a533 100644 --- a/configure.ac +++ b/configure.ac @@ -202,6 +202,11 @@ AS_IF([test "x$enable_debugging" = "xyes"], [ ], [ AX_APPEND_COMPILE_FLAGS([-O2], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-ftree-loop-distribute-patterns], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-ftree-loop-if-convert-stores], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-ftree-vectorize], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-funsafe-loop-optimizations], [], [-Werror]) + # mingw LTO support currently appears to be broken AS_IF([test x"${host_os}" != x"mingw32"], [ AX_APPEND_COMPILE_FLAGS([-flto])