From 37d51cdfeec648cc4267ddb05cb20e29065fe91c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 8 Mar 2002 14:55:02 +0000 Subject: [PATCH] *** empty log message *** [SVN r13134] --- python.jam | 16 ++++++++++++++++ v1/python.jam | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/python.jam b/python.jam index c36be7f0c..ff1d07eb6 100644 --- a/python.jam +++ b/python.jam @@ -155,6 +155,22 @@ PYTHON_PROPERTIES <*>$(PYTHON_LIB_PATH) ; +{ + local gcc-release-properties + = speed -fomit-frame-pointer + on -foptimize-sibling-calls + ; + PYTHON_PROPERTIES += $(gcc-release-properties) ; +} + +BOOST_PYTHON_V2_PROPERTIES + = $(PYTHON_PROPERTIES) + <*>"-inline deferred" + <*>$(BOOST_ROOT)/boost/compatibility/cpp_c_headers + BOOST_PYTHON_DYNAMIC_LIB + BOOST_PYTHON_V2 + ; + # Extends the RUN_PATH assignment for targets built under Cygwin so # that the Python DLL can be found. rule add-cygwin-python-run-path ( module ) diff --git a/v1/python.jam b/v1/python.jam index c36be7f0c..ff1d07eb6 100644 --- a/v1/python.jam +++ b/v1/python.jam @@ -155,6 +155,22 @@ PYTHON_PROPERTIES <*>$(PYTHON_LIB_PATH) ; +{ + local gcc-release-properties + = speed -fomit-frame-pointer + on -foptimize-sibling-calls + ; + PYTHON_PROPERTIES += $(gcc-release-properties) ; +} + +BOOST_PYTHON_V2_PROPERTIES + = $(PYTHON_PROPERTIES) + <*>"-inline deferred" + <*>$(BOOST_ROOT)/boost/compatibility/cpp_c_headers + BOOST_PYTHON_DYNAMIC_LIB + BOOST_PYTHON_V2 + ; + # Extends the RUN_PATH assignment for targets built under Cygwin so # that the Python DLL can be found. rule add-cygwin-python-run-path ( module )