Author: soliton
Date: Mon Apr  7 02:46:28 2008
New Revision: 25648

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25648&view=rev
Log:
* use the boost flags rather than supplying $CXXFLAGS and $LDFLAGS

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=25648&r1=25647&r2=25648&view=diff
==============================================================================
--- trunk/utils/mp-server/update_server (original)
+++ trunk/utils/mp-server/update_server Mon Apr  7 02:46:28 2008
@@ -56,9 +56,10 @@
 
 if [ "$SCONS" == "yes" ]; then
        mkdir -p $BUILD/$DIR/var/run
-       CXXFLAGS=$CXXFLAGS LDFLAGS=$LDFLAGS scons install-wesnothd 
prefix=$BUILD/$DIR fifodir=$BUILD/$DIR/var/run raw_sockets=1 profile=1 
fribidi=0 python=0 prereqs=0 localedir= prefsdir= | tee $BUILD/$DIR/scons.log 
|| exit 1
+       # need to remove .scons-option-cache when parameters get removed!
+       scons install-wesnothd prefix=$BUILD/$DIR fifodir=$BUILD/$DIR/var/run 
boostdir=$HOME/tools/include boostlibdir=$HOME/tools/lib boost_suffix=-mt 
raw_sockets=1 profile=1 fribidi=0 python=0 localedir= prefsdir= | tee 
$BUILD/$DIR/scons.log || exit 1
        echo "adding '$SERVER' suffix..."
-       mv $BUILD/$DIR/bin/wesnothd $BUILD/$DIR/bin/wesnothd-$SERVER
+       mv $BUILD/$DIR/bin/wesnothd $BUILD/$DIR/bin/wesnothd-$SERVER || exit 1
 else
        echo 'autogen.sh and configure...'
        ./autogen.sh > $BUILD/$DIR/autogen.log


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

Reply via email to