tony2001 Mon Sep 25 11:05:29 2006 UTC Modified files: /php-src configure.in Log: change CXXFLAGS along with CFLAGS as there might be C++ code http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.613&r2=1.614&diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.613 php-src/configure.in:1.614 --- php-src/configure.in:1.613 Tue Aug 22 13:01:27 2006 +++ php-src/configure.in Mon Sep 25 11:05:29 2006 @@ -1,4 +1,4 @@ - ## $Id: configure.in,v 1.613 2006/08/22 13:01:27 tony2001 Exp $ -*- autoconf -*- + ## $Id: configure.in,v 1.614 2006/09/25 11:05:29 tony2001 Exp $ -*- autoconf -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -663,10 +663,12 @@ dnl Remove all optimization flags from CFLAGS changequote({,}) CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'` + CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'` changequote([,]) dnl Add the special gcc flags CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage" + CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage" fi PHP_ARG_ENABLE(debug, whether to include debugging symbols, @@ -677,8 +679,10 @@ ZEND_DEBUG=yes changequote({,}) CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'` + CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'` changequote([,]) CFLAGS="$CFLAGS -O0" + CXXFLAGS="$CXXFLAGS -O0" else PHP_DEBUG=0 ZEND_DEBUG=no
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php