changeset 361:7e6e3a27d63e

Remove fast-math (for repeatability)
author Chris Cannam
date Tue, 28 Jan 2020 14:08:04 +0000
parents ef25305c4f52
children 9d547101e7cd
files configure.ac
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Jan 09 09:48:20 2020 +0000
+++ b/configure.ac	Tue Jan 28 14:08:04 2020 +0000
@@ -53,17 +53,17 @@
 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS"
 OPTFLAGS_RELEASE="-O2"
 LDFLAGS_RELEASE=""
-CXXSTANDARD=c++14
+CXXSTANDARD="c++14"
 
 if test "x$GCC" = "xyes"; then
    	CXXFLAGS_ANY="-fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
         CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror"
         OPTFLAGS_DEBUG="-O2"
    	CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0"
-        OPTFLAGS_RELEASE="-O3 -ffast-math"
+        OPTFLAGS_RELEASE="-O3"
         LIBS_DEBUG="$LIBS"
         AX_CHECK_COMPILE_FLAG(--std=$CXXSTANDARD, [], [AC_MSG_NOTICE([Compiler does not appear to support $CXXSTANDARD, falling back to c++11])
-        CXXSTANDARD=c++11])
+        CXXSTANDARD="c++11"])
 fi
 
 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE $OPTFLAGS_RELEASE"