0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 23:44:01 +01:00

tools: Pass consistent arguments to all scripts in the procedure.

This commit is contained in:
Jason Volk 2018-12-28 16:04:38 -08:00
parent df259c237f
commit 4de73b5085

View file

@ -177,11 +177,19 @@ run git submodule update --init --recursive --checkout libs/locale
run git submodule update --init --recursive --checkout libs/gil run git submodule update --init --recursive --checkout libs/gil
B2FLAGS="threading=$BTHREADING"
B2FLAGS+=" variant=$BVARIANT"
B2FLAGS+=" link=$BLINK"
B2FLAGS+=" runtime-link=shared"
B2FLAGS+=" address-model=64"
B2FLAGS+=" warnings=all"
B2FLAGS+=" $_BCXXFLAGS"
### Install should go right into this local submodule repository ### Install should go right into this local submodule repository
run ./bootstrap.sh --prefix=$PWD --libdir=$PWD/lib --with-libraries=$BLIBS $BSFLAGS run ./bootstrap.sh --prefix=$PWD --libdir=$PWD/lib --with-libraries=$BLIBS $BSFLAGS
run ./bjam --clean run ./bjam --clean $B2FLAGS
run ./b2 -d0 headers run ./b2 -d0 headers $B2FLAGS
run ./b2 -d0 install threading=$BTHREADING variant=$BVARIANT link=$BLINK runtime-link=shared address-model=64 warnings=all $_BCXXFLAGS run ./b2 -d0 install $B2FLAGS
### TODO: this shouldn't be necessary. ### TODO: this shouldn't be necessary.
### XXX: required when boost submodules are fetched and built la carte, but not required ### XXX: required when boost submodules are fetched and built la carte, but not required