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:
@@ -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> ;
|
||||
|
||||
@@ -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> ;
|
||||
|
||||
Reference in New Issue
Block a user