Mercurial > hg > sonic-annotator
comparison configure.ac @ 361:7e6e3a27d63e
Remove fast-math (for repeatability)
author | Chris Cannam |
---|---|
date | Tue, 28 Jan 2020 14:08:04 +0000 |
parents | ba3c0e70b5dd |
children |
comparison
equal
deleted
inserted
replaced
360:ef25305c4f52 | 361:7e6e3a27d63e |
---|---|
51 OPTFLAGS_DEBUG="-O2" | 51 OPTFLAGS_DEBUG="-O2" |
52 LDFLAGS_DEBUG="" | 52 LDFLAGS_DEBUG="" |
53 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 53 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
54 OPTFLAGS_RELEASE="-O2" | 54 OPTFLAGS_RELEASE="-O2" |
55 LDFLAGS_RELEASE="" | 55 LDFLAGS_RELEASE="" |
56 CXXSTANDARD=c++14 | 56 CXXSTANDARD="c++14" |
57 | 57 |
58 if test "x$GCC" = "xyes"; then | 58 if test "x$GCC" = "xyes"; then |
59 CXXFLAGS_ANY="-fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" | 59 CXXFLAGS_ANY="-fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" |
60 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror" | 60 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror" |
61 OPTFLAGS_DEBUG="-O2" | 61 OPTFLAGS_DEBUG="-O2" |
62 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0" | 62 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0" |
63 OPTFLAGS_RELEASE="-O3 -ffast-math" | 63 OPTFLAGS_RELEASE="-O3" |
64 LIBS_DEBUG="$LIBS" | 64 LIBS_DEBUG="$LIBS" |
65 AX_CHECK_COMPILE_FLAG(--std=$CXXSTANDARD, [], [AC_MSG_NOTICE([Compiler does not appear to support $CXXSTANDARD, falling back to c++11]) | 65 AX_CHECK_COMPILE_FLAG(--std=$CXXSTANDARD, [], [AC_MSG_NOTICE([Compiler does not appear to support $CXXSTANDARD, falling back to c++11]) |
66 CXXSTANDARD=c++11]) | 66 CXXSTANDARD="c++11"]) |
67 fi | 67 fi |
68 | 68 |
69 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE $OPTFLAGS_RELEASE" | 69 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE $OPTFLAGS_RELEASE" |
70 LDFLAGS_BUILD="$LDFLAGS_RELEASE $OPTFLAGS_RELEASE" | 70 LDFLAGS_BUILD="$LDFLAGS_RELEASE $OPTFLAGS_RELEASE" |
71 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" | 71 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" |