# HG changeset patch # User Chris Cannam # Date 1580220484 0 # Node ID 7e6e3a27d63e9fd16078a184e4ffadefa5bc98e2 # Parent ef25305c4f520e7e3b82c774d59bfb75b7a6006b Remove fast-math (for repeatability) diff -r ef25305c4f52 -r 7e6e3a27d63e configure.ac --- 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"