2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Strip binaries when no debug symbols are needed.

[SVN r18577]
This commit is contained in:
Vladimir Prus
2003-05-28 07:23:05 +00:00
parent a87f41243c
commit d4d3de2a5b
2 changed files with 6 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ actions compile
# Declare flags and action for linking
flags gcc.link OPTIONS <debug-symbols>on : -g ;
# Strip the binary when no debugging is needed.
flags gcc.link OPTIONS <debug-symbols>off : -s ;
flags gcc.link OPTIONS <profiling>on : -pg ;
flags gcc.link OPTIONS <linkflags> ;
flags gcc.link LINKPATH <library-path> ;
@@ -108,6 +110,7 @@ actions piecemeal archive
# Declare flags and action for linking shared libraries
flags gcc.link-dll OPTIONS <debug-symbols>on : -g ;
flags gcc.link-dll OPTIONS <debug-symbols>off : -s ;
flags gcc.link-dll OPTIONS <profiling>on : -pg ;
flags gcc.link-dll OPTIONS <linkflags> ;
flags gcc.link-dll LINKPATH <library-path> ;

View File

@@ -79,6 +79,8 @@ actions compile
# Declare flags and action for linking
flags gcc.link OPTIONS <debug-symbols>on : -g ;
# Strip the binary when no debugging is needed.
flags gcc.link OPTIONS <debug-symbols>off : -s ;
flags gcc.link OPTIONS <profiling>on : -pg ;
flags gcc.link OPTIONS <linkflags> ;
flags gcc.link LINKPATH <library-path> ;
@@ -108,6 +110,7 @@ actions piecemeal archive
# Declare flags and action for linking shared libraries
flags gcc.link-dll OPTIONS <debug-symbols>on : -g ;
flags gcc.link-dll OPTIONS <debug-symbols>off : -s ;
flags gcc.link-dll OPTIONS <profiling>on : -pg ;
flags gcc.link-dll OPTIONS <linkflags> ;
flags gcc.link-dll LINKPATH <library-path> ;