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 ;