diff -p -up boost_1_39_0/tools/build/v2/tools/gcc.jam.cxxflags~ boost_1_39_0/tools/build/v2/tools/gcc.jam --- boost_1_39_0/tools/build/v2/tools/gcc.jam.cxxflags~ 2009-01-14 15:31:12.000000000 +0100 +++ boost_1_39_0/tools/build/v2/tools/gcc.jam 2009-07-17 18:12:20.000000000 +0200 @@ -298,8 +298,9 @@ generators.override gcc.compile.c++.pch toolset.flags gcc.compile PCH_FILE on : ; # Declare flags and action for compilation. +local CXXFLAGS = [ os.environ BOOST_BUILD_PATH ] ; toolset.flags gcc.compile OPTIONS off : -O0 ; -toolset.flags gcc.compile OPTIONS speed : -O3 ; +toolset.flags gcc.compile OPTIONS speed : [ modules.peek : CXXFLAGS ] ; toolset.flags gcc.compile OPTIONS space : -Os ; toolset.flags gcc.compile OPTIONS off : -fno-inline ;