diff --git a/build/Jamfile b/build/Jamfile index 099d40cc..b58c22dc 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -23,6 +23,11 @@ if [ check-python-config ] bpl-linkflags = "-e initlibboost_python" ; } + # Enabling intrinsics (/0i) or maximize speed (/02) seem to cause + # internal compiler errors with this toolset. + local msvc-stlport-workarounds + = off "-Ogty -O1 -Gs" ; + local sources = numeric.cpp list.cpp @@ -55,6 +60,7 @@ if [ check-python-config ] : $(BOOST_PYTHON_V2_PROPERTIES) BOOST_PYTHON_SOURCE $(bpl-linkflags) + $(msvc-stlport-workarounds) ; lib boost_python @@ -66,6 +72,7 @@ if [ check-python-config ] BOOST_PYTHON_SOURCE BOOST_STATIC_LIB $(bpl-linkflags) + $(msvc-stlport-workarounds) ; stage bin-stage : boost_python boost_python