From f6edc3754915a04b9bed73463b677671cbf2d543 Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 12 Apr 2013 09:29:31 -0700 Subject: [PATCH] change fastmath opt to 2 instead of 3, causes potential confilicts with aesni on non-aesni systems with gcc 4.6.3 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 40548857d..3aeedd6c6 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,7 @@ AM_PROG_CC_C_O LT_LIB_M OPTIMIZE_CFLAGS="-Os -fomit-frame-pointer" -OPTIMIZE_FAST_CFLAGS="-O3 -fomit-frame-pointer" +OPTIMIZE_FAST_CFLAGS="-O2 -fomit-frame-pointer" OPTIMIZE_HUGE_CFLAGS="-funroll-loops -DTFM_SMALL_SET" DEBUG_CFLAGS="-g -DDEBUG -DDEBUG_CYASSL" @@ -324,6 +324,7 @@ then if test "$GCC" = "yes" then # GCC needs these flags, icc doesn't + # opt levels greater than 2 may cause problems on systems w/o aesni AM_CFLAGS="$AM_CFLAGS -maes -msse4" fi fi