diff options
author | George Hazan <ghazan@miranda.im> | 2017-12-27 23:57:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-27 23:57:33 +0300 |
commit | 37e7f30e2f09dc5bd904a0b777147e2203cc3b1a (patch) | |
tree | 5b471714967b3817ae5f876500751493c9a024d5 | |
parent | b2cb548cd4b3b9a89da777f4465095fa37539d1b (diff) |
we need to compile boost with /Zc:threadSafeInit- compiler's option
-rw-r--r-- | tools/boost/build_boost.bat | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/boost/build_boost.bat b/tools/boost/build_boost.bat index 22ffd2b947..50ed7ac3bd 100644 --- a/tools/boost/build_boost.bat +++ b/tools/boost/build_boost.bat @@ -7,7 +7,13 @@ if "%p2%" == "" (echo "please specify target msvc compiler by adding '10' for M call bootstrap.bat if /i '%1' == '86' ( - b2 --toolset=msvc-%2.0 runtime-link=shared threading=multi link=static architecture=x86 address-model=32 + call "%VS141COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvars32.bat" + pause + + b2 --toolset=msvc-%2.0 runtime-link=shared threading=multi link=static architecture=x86 address-model=32 cxxflags=/Zc:threadSafeInit- ) else if /i '%1' == '64' ( - b2 --toolset=msvc-%2.0 runtime-link=shared threading=multi link=static architecture=x86 address-model=64 --stagedir=stage64 + call "%VS141COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvars64.bat" + pause + + b2 --toolset=msvc-%2.0 runtime-link=shared threading=multi link=static architecture=x86 address-model=64 cxxflags=/Zc:threadSafeInit- --stagedir=stage64 )
\ No newline at end of file |