mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Do not strip binaries in release variant.
[SVN r58331]
This commit is contained in:
@@ -121,6 +121,12 @@ feature.feature asynch-exceptions : off on : propagated ;
|
||||
feature.feature extern-c-nothrow : off on : propagated ;
|
||||
|
||||
feature.feature debug-symbols : on off : propagated ;
|
||||
# Controls whether the binary should be stripped -- that is have
|
||||
# everything not necessary to running removed. This option should
|
||||
# not be very often needed. Also, this feature will show up in
|
||||
# target paths of everything, not just binaries. Should fix that
|
||||
# when impelementing feature relevance.
|
||||
feature.feature strip : off on : propagated ;
|
||||
feature.feature define : : free ;
|
||||
feature.feature undef : : free ;
|
||||
feature.feature "include" : : free path ; #order-sensitive ;
|
||||
|
||||
@@ -676,7 +676,7 @@ rule init-link-flags ( toolset linker condition )
|
||||
# as opposed to -s since icc (intel's compiler) is generally
|
||||
# option-compatible with and inherits from the gcc toolset, but does not
|
||||
# support -s.
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<debug-symbols>off : -Wl,--strip-all : unchecked ;
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<strip>on : -Wl,--strip-all : unchecked ;
|
||||
toolset.flags $(toolset).link RPATH $(condition) : <dll-path> : unchecked ;
|
||||
toolset.flags $(toolset).link RPATH_LINK $(condition) : <xdll-path> : unchecked ;
|
||||
toolset.flags $(toolset).link START-GROUP $(condition) : -Wl,--start-group : unchecked ;
|
||||
@@ -731,7 +731,7 @@ rule init-link-flags ( toolset linker condition )
|
||||
|
||||
case hpux :
|
||||
{
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<debug-symbols>off
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<strip>on
|
||||
: -Wl,-s : unchecked ;
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<link>shared
|
||||
: -fPIC : unchecked ;
|
||||
@@ -740,7 +740,7 @@ rule init-link-flags ( toolset linker condition )
|
||||
case osf :
|
||||
{
|
||||
# No --strip-all, just -s.
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<debug-symbols>off
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<strip>on
|
||||
: -Wl,-s : unchecked ;
|
||||
toolset.flags $(toolset).link RPATH $(condition) : <dll-path>
|
||||
: unchecked ;
|
||||
@@ -752,7 +752,7 @@ rule init-link-flags ( toolset linker condition )
|
||||
|
||||
case sun :
|
||||
{
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<debug-symbols>off
|
||||
toolset.flags $(toolset).link OPTIONS $(condition)/<strip>on
|
||||
: -Wl,-s : unchecked ;
|
||||
toolset.flags $(toolset).link RPATH $(condition) : <dll-path>
|
||||
: unchecked ;
|
||||
|
||||
Reference in New Issue
Block a user