From 50bcf8db343b7d0e1cd3fd65c2bd802710bc511f Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 10 Jan 2003 15:04:05 +0000 Subject: [PATCH] Apply workarounds for msvc-stlport [SVN r16854] --- build/Jamfile | 7 +++++++ 1 file changed, 7 insertions(+) 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