Author: soliton
Date: Sat Mar 22 16:15:46 2008
New Revision: 24984

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24984&view=rev
Log:
* remove --enable-debug and use different $CXXFLAGS for the different versions

Modified:
    trunk/utils/mp-server/update_server

Modified: trunk/utils/mp-server/update_server
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/mp-server/update_server?rev=24984&r1=24983&r2=24984&view=diff
==============================================================================
--- trunk/utils/mp-server/update_server (original)
+++ trunk/utils/mp-server/update_server Sat Mar 22 16:15:46 2008
@@ -23,10 +23,13 @@
 
 case $SERVER in
        1.2 )   cd $SOURCE/1.2   || exit 1
+               CXXFLAGS='-ggdb3 -pg'
        ;;
        1.4 )   cd $SOURCE/1.4   || exit 1
+               CXXFLAGS='-ggdb3 -pg -DNUM_SHARDS=7'
        ;;
        *   )   cd $SOURCE/trunk || exit 1
+               CXXFLAGS='-O0 -ggdb3 -pg -DNUM_SHARDS=7'
        ;;
 esac
 
@@ -34,7 +37,7 @@
 if [ "$2" != "" ]; then
        REVISION="-r $2"
 fi
-echo 'svn update...'
+echo -n 'svn update... '
 rev=$(svn up $REVISION | tail -n 1 | sed -e 's/[^0-9]//g')
 if [ "$rev" == "" ]; then
        echo "No revision information found."
@@ -48,7 +51,7 @@
 
 echo 'autogen.sh and configure...'
 ./autogen.sh > $BUILD/$DIR/autogen.log
-./configure --prefix=$BUILD/$DIR --program-suffix=-$SERVER --enable-server 
--enable-raw-sockets --disable-game --with-fifodir=$BUILD/$DIR/var/run 
--disable-nls --enable-debug --enable-lite > $BUILD/$DIR/configure.log 
CXXFLAGS='-pg -DNUM_SHARDS=7' LDFLAGS='-pg'
+./configure --prefix=$BUILD/$DIR --program-suffix=-$SERVER --enable-server 
--enable-raw-sockets --disable-game --with-fifodir=$BUILD/$DIR/var/run 
--disable-nls --enable-lite > $BUILD/$DIR/configure.log CXXFLAGS=$CXXFLAGS 
LDFLAGS='-pg'
 make clean > /dev/null
 
 echo 'make...'


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to