actually use the set CXXFLAGS when bulding with scons..

This commit is contained in:
Gunter Labes 2008-04-17 13:51:18 +00:00
parent 4b008e5c35
commit 0afbb92b11

View file

@ -54,10 +54,10 @@ DIR=wesnothd-svn-${rev}_$SERVER
BUILD=$HOME/servers/builds/$DIR
mkdir -p $BUILD
if [ "$SCONS" == "yes" ]; then
if [ "$SCONS" = "yes" ]; then
mkdir -p $BUILD/var/run
# need to remove .scons-option-cache when parameters get removed!
scons install-wesnothd prefix=$BUILD fifodir=$BUILD/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/scons.log || exit 1
CXXFLAGS=$CXXFLAGS LDFLAGS=$LDFLAGS scons install-wesnothd prefix=$BUILD fifodir=$BUILD/var/run boostdir=$HOME/tools/include boostlibdir=$HOME/tools/lib boost_suffix=-mt raw_sockets=1 profile=0 fribidi=0 python=0 localedir= prefsdir= | tee $BUILD/scons.log || exit 1
echo "adding '$SERVER' suffix..."
mv $BUILD/bin/wesnothd $BUILD/bin/wesnothd-$SERVER || exit 1
else