From f2ed53b505ea1fd4de8385ce3433aceb4fc67afe Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 6 Nov 2008 18:13:17 +0000 Subject: [PATCH] On Solaris host, assume sun linker. [SVN r49619] --- v2/tools/gcc.jam | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2/tools/gcc.jam b/v2/tools/gcc.jam index 77e7cd6c3..533155706 100644 --- a/v2/tools/gcc.jam +++ b/v2/tools/gcc.jam @@ -137,6 +137,7 @@ rule init ( version ? : command * : options * ) common.handle-options gcc : $(condition) : $(command) : $(options) ; local linker = [ feature.get-values : $(options) ] ; + # The logic below should actually be keyed on if ! $(linker) { if [ os.name ] = OSF @@ -151,6 +152,10 @@ rule init ( version ? : command * : options * ) { linker = aix ; } + else if [ os.name ] = SOLARIS + { + linker = sun ; + } else { linker = gnu ;