0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

tools: Fix defaults in boostrap.

This commit is contained in:
Jason Volk 2018-12-28 14:26:10 -08:00
parent 16ebbbfa8a
commit f61b95b070

View file

@ -51,7 +51,10 @@ fi
if [ -z $BCXXFLAGS ]; then
BCXXFLAGS="-std=gnu++17"
BCXXFLAGS=""
_BCXXFLAGS=""
else
_BCXXFLAGS="cxxflags=$BCXXFLAGS"
fi
@ -178,7 +181,7 @@ run git submodule update --init --recursive --checkout libs/gil
run ./bootstrap.sh --prefix=$PWD --libdir=$PWD/lib --with-libraries=$BLIBS $BSFLAGS
run ./bjam --clean
run ./b2 -d0 headers
run ./b2 -d0 install threading=$BTHREADING variant=$BVARIANT link=$BLINK runtime-link=shared address-model=64 warnings=all cxxflags=$BCXXFLAGS
run ./b2 -d0 install threading=$BTHREADING variant=$BVARIANT link=$BLINK runtime-link=shared address-model=64 warnings=all $_BCXXFLAGS
### TODO: this shouldn't be necessary.
### XXX: required when boost submodules are fetched and built la carte, but not required