actually use the set CXXFLAGS when bulding with scons..
This commit is contained in:
parent
4b008e5c35
commit
0afbb92b11
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue