1 --- boost_1_59_0/tools/build/src/tools/gcc.jam.orig 2015-08-11 15:53:51.000000000 +0200
2 +++ boost_1_59_0/tools/build/src/tools/gcc.jam 2015-09-12 17:16:00.647535444 +0200
4 toolset.flags gcc.compile PCH_FILE <pch>on : <pch-file> ;
6 # Declare flags and action for compilation.
7 -toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
8 -toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
9 -toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
10 +toolset.flags gcc.compile OPTIONS <optimization>off : ;
11 +toolset.flags gcc.compile OPTIONS <optimization>speed : ;
12 +toolset.flags gcc.compile OPTIONS <optimization>space : ;
14 toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
15 toolset.flags gcc.compile OPTIONS <inlining>on : -Wno-inline ;
17 toolset.flags gcc.compile OPTIONS <warnings>all : -Wall -pedantic ;
18 toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
20 -toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
21 -toolset.flags gcc.compile OPTIONS <profiling>on : -pg ;
22 +toolset.flags gcc.compile OPTIONS <debug-symbols>on : ;
23 +toolset.flags gcc.compile OPTIONS <profiling>on : ;
25 toolset.flags gcc.compile.c++ OPTIONS <rtti>off : -fno-rtti ;
26 toolset.flags gcc.compile.c++ OPTIONS <exception-handling>off : -fno-exceptions ;
33 - local arch = [ feature.get-values architecture : $(properties) ] ;
34 - if $(arch) = power || $(arch) = sparc || $(arch) = x86
40 - else if $(model) = 64
45 - # For darwin, the model can be 32_64. darwin.jam will handle that
48 OPTIONS on $(targets) += $(option) ;
53 # The 'native' option appeared in gcc 4.2 so we cannot safely use it as default.
54 # Use i686 instead for 32-bit.
55 -toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : -march=i686 ;
56 +toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : ;
57 cpu-flags gcc OPTIONS : x86 : native : -march=native ;
58 cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ;
59 cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ;