Boost logo

Boost-Build :

Subject: [Boost-build] [PATCH] gcc linker options caused problems on gcc 3.4.6 (solaris)
From: John Bito (jwbito_at_[hidden])
Date: 2009-04-10 16:21:50


diff --git a/boost-build/tools/gcc.jam b/boost-build/tools/gcc.jam
index 5b9bccc..5c256fe 100644
--- a/boost-build/tools/gcc.jam
+++ b/boost-build/tools/gcc.jam
@@ -520,8 +520,8 @@ rule init-link-flags ( toolset linker condition )
           : unchecked ;
         flags $(toolset).link RPATH $(condition) : <dll-path> : unchecked ;
         flags $(toolset).link RPATH_LINK $(condition) : <xdll-path> :
unchecked ;
- flags $(toolset).link START-GROUP $(condition) :
-Wl,--start-group : unchecked ;
- flags $(toolset).link END-GROUP $(condition) :
-Wl,--end-group : unchecked ;
+ flags $(toolset).link START-GROUP $(condition) :
-Wl--start-group : unchecked ;
+ flags $(toolset).link END-GROUP $(condition) : -Wl--end-group
: unchecked ;

         # gnu ld has the ability to change the search behaviour for
libraries referenced
         # by -l switch. These modifiers are -Bstatic and -Bdynamic
and change search


Boost-Build 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