Index: tools/build/src/tools/gcc.jam =================================================================== --- tools/build/src/tools/gcc.jam.orig +++ tools/build/src/tools/gcc.jam @@ -623,17 +623,17 @@ actions compile.c.pch ### # Declare flags and action for compilation. -toolset.flags gcc.compile OPTIONS off : -O0 ; -toolset.flags gcc.compile OPTIONS speed : -O3 ; -toolset.flags gcc.compile OPTIONS space : -Os ; -toolset.flags gcc.compile OPTIONS minimal : -O1 ; -toolset.flags gcc.compile OPTIONS debug : -Og ; +toolset.flags gcc.compile OPTIONS off : ; +toolset.flags gcc.compile OPTIONS speed : ; +toolset.flags gcc.compile OPTIONS space : ; +toolset.flags gcc.compile OPTIONS minimal : ; +toolset.flags gcc.compile OPTIONS debug : ; -toolset.flags gcc.compile OPTIONS off : -fno-inline ; -toolset.flags gcc.compile OPTIONS on : -Wno-inline ; -toolset.flags gcc.compile OPTIONS full : -finline-functions -Wno-inline ; +toolset.flags gcc.compile OPTIONS off : ; +toolset.flags gcc.compile OPTIONS on : ; +toolset.flags gcc.compile OPTIONS full : ; -toolset.flags gcc.compile OPTIONS off : -w ; +toolset.flags gcc.compile OPTIONS off : ; toolset.flags gcc.compile OPTIONS on : -Wall ; toolset.flags gcc.compile OPTIONS all : -Wall ; toolset.flags gcc.compile OPTIONS extra : -Wall -Wextra ;