Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49063 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2008-09-30 02:17:57


Author: vladimir_prus
Date: 2008-09-30 02:17:56 EDT (Tue, 30 Sep 2008)
New Revision: 49063
URL: http://svn.boost.org/trac/boost/changeset/49063

Log:
Use strip -S -x for stripping.

Text files modified:
   trunk/tools/build/v2/tools/darwin.jam | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/darwin.jam
==============================================================================
--- trunk/tools/build/v2/tools/darwin.jam (original)
+++ trunk/tools/build/v2/tools/darwin.jam 2008-09-30 02:17:56 EDT (Tue, 30 Sep 2008)
@@ -350,10 +350,14 @@
     prepare-framework-path $(<) ;
 }
 
+# Note that using strip without any options was reported to result in broken
+# binaries, at least on OS X 10.5.5, see:
+# http://svn.boost.org/trac/boost/ticket/2347
+# So we pass -S -x.
 actions link bind LIBRARIES
 {
     "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
- $(NEED_STRIP)"$(.STRIP)" $(NEED_STRIP)"$(<)"
+ $(NEED_STRIP)"$(.STRIP)" $(NEED_STRIP)-S $(NEED_STRIP)-x $(NEED_STRIP)"$(<)"
 }
 
 rule link.dll


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk