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