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:
parent
16ebbbfa8a
commit
f61b95b070
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue