]> git.pld-linux.org Git - packages/boost.git/blame - boost-clean-gcc-flags.patch
up to 1.82.0
[packages/boost.git] / boost-clean-gcc-flags.patch
CommitLineData
dade1db4
JB
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 {
54c30f2c 15@@ -624,11 +619,11 @@
dade1db4 16 ###
bfed7e70
JR
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 ;
54c30f2c
JP
22-toolset.flags gcc.compile OPTIONS <optimization>minimal : -O1 ;
23-toolset.flags gcc.compile OPTIONS <optimization>debug : -Og ;
bfed7e70
JR
24+toolset.flags gcc.compile OPTIONS <optimization>off : ;
25+toolset.flags gcc.compile OPTIONS <optimization>speed : ;
26+toolset.flags gcc.compile OPTIONS <optimization>space : ;
54c30f2c
JP
27+toolset.flags gcc.compile OPTIONS <optimization>minimal : ;
28+toolset.flags gcc.compile OPTIONS <optimization>debug : ;
bfed7e70
JR
29
30 toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
31 toolset.flags gcc.compile OPTIONS <inlining>on : -Wno-inline ;
dade1db4 32@@ -637,8 +632,8 @@
ffdbc5e9 33 toolset.flags gcc.compile OPTIONS <warnings>pedantic : -Wall -Wextra -pedantic ;
bfed7e70
JR
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
ffdbc5e9
JP
41 toolset.flags gcc.compile OPTIONS <local-visibility>hidden : -fvisibility=hidden ;
42 toolset.flags gcc.compile.c++ OPTIONS <local-visibility>hidden : -fvisibility-inlines-hidden ;
dade1db4 43@@ -1069,7 +1064,7 @@
bfed7e70
JR
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.500635 seconds and 5 git commands to generate.