f4a353
--- boost_1_66_0/tools/build/src/tools/gcc.jam~ 2017-12-13 23:56:50.000000000 +0000
f4a353
+++ boost_1_66_0/tools/build/src/tools/gcc.jam	2018-01-19 12:48:26.264755316 +0000
f4a353
@@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc
f4a353
 
f4a353
 actions compile.c++ bind PCH_FILE
f4a353
 {
f4a353
-    "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
f4a353
+    "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
f4a353
 }
f4a353
 
f4a353
 actions compile.c bind PCH_FILE
f4a353
@@ -613,7 +613,7 @@ actions compile.c bind PCH_FILE
f4a353
 
f4a353
 actions compile.c++.preprocess bind PCH_FILE
f4a353
 {
f4a353
-    "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
f4a353
+    "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
f4a353
 }
f4a353
 
f4a353
 actions compile.c.preprocess bind PCH_FILE
f4a353
@@ -755,17 +755,17 @@ actions compile.c.pch
f4a353
 ###
f4a353
 
f4a353
 # Declare flags and action for compilation.
f4a353
-toolset.flags gcc.compile OPTIONS <optimization>off   : -O0 ;
f4a353
-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
f4a353
-toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
f4a353
-
f4a353
-toolset.flags gcc.compile OPTIONS <inlining>off  : -fno-inline ;
f4a353
-toolset.flags gcc.compile OPTIONS <inlining>on   : -Wno-inline ;
f4a353
-toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inline ;
f4a353
-
f4a353
-toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
f4a353
-toolset.flags gcc.compile OPTIONS <warnings>on  : -Wall ;
f4a353
-toolset.flags gcc.compile OPTIONS <warnings>all : -Wall -pedantic ;
f4a353
+toolset.flags gcc.compile OPTIONS <optimization>off   :  ;
f4a353
+toolset.flags gcc.compile OPTIONS <optimization>speed :  ;
f4a353
+toolset.flags gcc.compile OPTIONS <optimization>space :  ;
f4a353
+
f4a353
+toolset.flags gcc.compile OPTIONS <inlining>off  :  ;
f4a353
+toolset.flags gcc.compile OPTIONS <inlining>on   :  ;
f4a353
+toolset.flags gcc.compile OPTIONS <inlining>full :  ;
f4a353
+
f4a353
+toolset.flags gcc.compile OPTIONS <warnings>off :  ;
f4a353
+toolset.flags gcc.compile OPTIONS <warnings>on  :  ;
f4a353
+toolset.flags gcc.compile OPTIONS <warnings>all :  ;
f4a353
 toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
f4a353
 
f4a353
 toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;