Petr Machata 197021
diff -up ./tools/build/src/tools/gcc.jam~ ./tools/build/src/tools/gcc.jam
Petr Machata 197021
--- ./tools/build/src/tools/gcc.jam~	2015-02-09 15:01:04.850331626 +0100
Petr Machata 197021
+++ ./tools/build/src/tools/gcc.jam	2015-02-09 15:44:29.122307134 +0100
Petr Machata 197021
@@ -366,17 +366,17 @@ generators.override gcc.compile.c++.pch
Petr Machata 197021
 toolset.flags gcc.compile PCH_FILE <pch>on : <pch-file> ;
Petr Machata 197021
 
Petr Machata 197021
 # Declare flags and action for compilation.
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <optimization>off   : -O0 ;
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <optimization>off   :  ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <optimization>speed :  ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <optimization>space :  ;
Petr Machata 197021
 
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <inlining>off  : -fno-inline ;
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <inlining>on   : -Wno-inline ;
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inline ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <inlining>off  :  ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <inlining>on   :  ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <inlining>full :  ;
Petr Machata 197021
 
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <warnings>on  : -Wall ;
Petr Machata 197021
-toolset.flags gcc.compile OPTIONS <warnings>all : -Wall -pedantic ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <warnings>off :  ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <warnings>on  :  ;
Petr Machata 197021
+toolset.flags gcc.compile OPTIONS <warnings>all :  ;
Petr Machata 197021
 toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
Petr Machata 197021
 
Petr Machata 197021
 toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
Petr Machata 197021
@@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc
Petr Machata 197021
 
Petr Machata 197021
 actions compile.c++ bind PCH_FILE
Petr Machata 197021
 {
Petr Machata 197021
-    "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
Petr Machata 197021
+    "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
Petr Machata 197021
 }
Petr Machata 197021
 
Petr Machata 197021
 actions compile.c bind PCH_FILE
Petr Machata 197021
@@ -613,7 +613,7 @@ actions compile.c bind PCH_FILE
Petr Machata 197021
 
Petr Machata 197021
 actions compile.c++.preprocess bind PCH_FILE
Petr Machata 197021
 {
Petr Machata 197021
-    "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
Petr Machata 197021
+    "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
Petr Machata 197021
 }
Petr Machata 197021
 
Petr Machata 197021
 actions compile.c.preprocess bind PCH_FILE