changeset 2153:f57b0eea9201

Remove LTO again. It makes linking very slow, I'm not noticing any practical difference in performance, it doesn't work correctly on Travis image etc, and it sometimes breaks in incremental builds.
author Chris Cannam
date Thu, 06 Dec 2018 09:55:36 +0000
parents 60d78294ea3a
children af4df56ad040
files configure.ac
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Dec 06 09:36:08 2018 +0000
+++ b/configure.ac	Thu Dec 06 09:55:36 2018 +0000
@@ -60,8 +60,7 @@
         CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror"
         OPTFLAGS_DEBUG="-O2"
    	CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0"
-        LDFLAGS_RELEASE="-fuse-linker-plugin"
-        OPTFLAGS_RELEASE="-O3 -ffast-math -flto"
+        OPTFLAGS_RELEASE="-O3 -ffast-math"
         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])