use the boost flags rather than supplying $CXXFLAGS and $LDFLAGS

This commit is contained in:
Gunter Labes 2008-04-07 00:46:28 +00:00
parent 26f1bc1fdd
commit ac9f0827ab

View file

@ -56,9 +56,10 @@ mkdir -p $BUILD/$DIR
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