You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2018/12/26 04:18:50 UTC

svn commit: r1849734 - /subversion/trunk/configure.ac

Author: brane
Date: Wed Dec 26 04:18:49 2018
New Revision: 1849734

URL: http://svn.apache.org/viewvc?rev=1849734&view=rev
Log:
* configure.ac: Do not use link-time optimizations. While they may
   theoretically save some space and gain some speed, they in fact
   tickle a bug in (at least) clang++, breaking SVN++.

   It's just not worth it.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1849734&r1=1849733&r2=1849734&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Wed Dec 26 04:18:49 2018
@@ -1134,7 +1134,6 @@ if test "$enable_optimization" = "yes";
           SVN_CFLAGS_ADD_IFELSE([-O1],[],[
             SVN_CFLAGS_ADD_IFELSE([-O])])])])
       SVN_CFLAGS_ADD_IFELSE([-Wno-clobbered])
-      SVN_CFLAGS_ADD_IFELSE([-flto])
     fi
   fi
   if test -z ["`echo $CXXUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"]; then
@@ -1150,7 +1149,6 @@ if test "$enable_optimization" = "yes";
           SVN_CXXFLAGS_ADD_IFELSE([-O1],[],[
             SVN_CXXFLAGS_ADD_IFELSE([-O])])])])
       SVN_CXXFLAGS_ADD_IFELSE([-Wno-clobbered])
-      SVN_CXXFLAGS_ADD_IFELSE([-flto])
     fi
   fi
 elif test "$enable_optimization" = "no"; then