subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1535597 - /subversion/trunk/build/ac-macros/compiler.m4
Date Fri, 25 Oct 2013 00:45:37 GMT
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



Mime
View raw message