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 2013/10/25 02:45:37 UTC

svn commit: r1535597 - /subversion/trunk/build/ac-macros/compiler.m4

Author: brane
Date: Fri Oct 25 00:45:37 2013
New Revision: 1535597

URL: http://svn.apache.org/r1535597
Log:
Fix typo in C++ flags setup macro. No wonder -O2 crept into the C++ compiler
flags even with --disable-optimize.

* build/ac-macros/compiler.m4 (SVN_CXX_MODE_SETUP):
   It's all about CXXFLAGS, not CFLAGS. Duh.

Modified:
    subversion/trunk/build/ac-macros/compiler.m4

Modified: subversion/trunk/build/ac-macros/compiler.m4
URL: http://svn.apache.org/viewvc/subversion/trunk/build/ac-macros/compiler.m4?rev=1535597&r1=1535596&r2=1535597&view=diff
==============================================================================
--- subversion/trunk/build/ac-macros/compiler.m4 (original)
+++ subversion/trunk/build/ac-macros/compiler.m4 Fri Oct 25 00:45:37 2013
@@ -102,7 +102,7 @@ AC_DEFUN([SVN_CXX_MODE_SETUP],
     SVN_CXXFLAGS_ADD_IFELSE([-std=c++98])
   fi
 
-  CXXMODEFLAGS="$CFLAGS"
+  CXXMODEFLAGS="$CXXFLAGS"
   CXXFLAGS=""
 
   if test "$GXX" = "yes"; then