]> git.pld-linux.org Git - packages/boost.git/blob - boost-clean-gcc-flags.patch
up to 1.82.0
[packages/boost.git] / boost-clean-gcc-flags.patch
1 --- boost_1_67_0/tools/build/src/tools/gcc.jam.orig     2018-04-11 15:49:09.000000000 +0200
2 +++ boost_1_67_0/tools/build/src/tools/gcc.jam  2018-07-16 19:40:36.332045183 +0200
3 @@ -356,11 +356,6 @@
4  
5      compile-link-flags <target-os>hpux/<address-model>32 : -milp32 ;
6      compile-link-flags <target-os>hpux/<address-model>64 : -mlp64 ;
7 -
8 -    local generic-os = [ set.difference $(all-os) : aix hpux ] ;
9 -    local arch = power sparc x86 ;
10 -    compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ;
11 -    compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ;
12  }
13  
14  {
15 @@ -624,11 +619,11 @@
16  ###
17  
18  # Declare flags and action for compilation.
19 -toolset.flags gcc.compile OPTIONS <optimization>off   : -O0 ;
20 -toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
21 -toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
22 -toolset.flags gcc.compile OPTIONS <optimization>minimal : -O1 ;
23 -toolset.flags gcc.compile OPTIONS <optimization>debug : -Og ;
24 +toolset.flags gcc.compile OPTIONS <optimization>off   : ;
25 +toolset.flags gcc.compile OPTIONS <optimization>speed : ;
26 +toolset.flags gcc.compile OPTIONS <optimization>space : ;
27 +toolset.flags gcc.compile OPTIONS <optimization>minimal : ;
28 +toolset.flags gcc.compile OPTIONS <optimization>debug : ;
29  
30  toolset.flags gcc.compile OPTIONS <inlining>off  : -fno-inline ;
31  toolset.flags gcc.compile OPTIONS <inlining>on   : -Wno-inline ;
32 @@ -637,8 +632,8 @@
33  toolset.flags gcc.compile OPTIONS <warnings>pedantic : -Wall -Wextra -pedantic ;
34  toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
35  
36 -toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
37 -toolset.flags gcc.compile OPTIONS <profiling>on : -pg ;
38 +toolset.flags gcc.compile OPTIONS <debug-symbols>on : ;
39 +toolset.flags gcc.compile OPTIONS <profiling>on : ;
40  
41  toolset.flags gcc.compile OPTIONS <local-visibility>hidden : -fvisibility=hidden ;
42  toolset.flags gcc.compile.c++ OPTIONS <local-visibility>hidden : -fvisibility-inlines-hidden ;
43 @@ -1069,7 +1064,7 @@
44  # x86 and compatible
45  # The 'native' option appeared in gcc 4.2 so we cannot safely use it as default.
46  # Use i686 instead for 32-bit.
47 -toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : -march=i686 ;
48 +toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : ;
49  cpu-flags gcc OPTIONS : x86 : native : -march=native ;
50  cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ;
51  cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ;
This page took 0.164835 seconds and 3 git commands to generate.