Ticket #2114: boost_build_symbol_export.patch
File boost_build_symbol_export.patch, 2.2 KB (added by , 14 years ago) |
---|
-
tools/build/v2/tools/gcc.jam
118 118 } 119 119 } 120 120 121 configure-version-specific $(version) ; 122 121 123 local condition ; 122 124 if $(flavor) 123 125 { … … 214 216 rc.configure $(rc) : $(condition) : <rc-type>$(rc-type) ; 215 217 } 216 218 219 rule configure-version-specific ( version ) 220 { 221 if [ MATCH ^("4.*") : $(version) ] 222 { 223 toolset.flags gcc.compile OPTIONS <hide-symbols>on : -fvisibility=hidden ; 224 toolset.flags gcc.compile OPTIONS <hide-symbols>off : -fvisibility=default ; 225 toolset.flags gcc.compile OPTIONS <hide-symbols>inlines : -fvisibility-inlines-hidden ; 226 } 227 if [ MATCH ^("4.3.*") : $(version) ] 228 { 229 toolset.flag gcc.compile OPTIONS <hide-symbols>ms-compat : -fvisibility-ms-compat ; 230 } 231 } 232 217 233 if [ os.name ] = NT 218 234 { 219 235 # This causes single-line command invocation to not go through .bat files, -
tools/build/v2/tools/darwin.jam
71 71 <architecture>x86/<instruction-set> 72 72 <architecture>power/<address-model>32 73 73 <architecture>power/<address-model>64 74 <architecture>power/<instruction-set> ; 74 <architecture>power/<instruction-set> 75 <hide-symbols>on 76 <hide-symbols>off 77 <hide-symbols>ms-compat 78 <hide-symbols>inlines ; 75 79 76 80 # Options: 77 81 # -
tools/build/v2/tools/builtin.jam
289 289 # Used to select a specific variant of C++ ABI if the compiler supports several. 290 290 feature.feature c++abi : : propagated optional ; 291 291 292 # Hide symbols 293 feature.feature hide-symbols : on off ms-compat inlines : optional free composite ; 294 292 295 feature.feature conditional : : incidental free ; 293 296 294 297 # The value of 'no' prevents building of a target.