mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
On Solaris host, assume sun linker.
[SVN r49619]
This commit is contained in:
@@ -137,6 +137,7 @@ rule init ( version ? : command * : options * )
|
||||
common.handle-options gcc : $(condition) : $(command) : $(options) ;
|
||||
|
||||
local linker = [ feature.get-values <linker-type> : $(options) ] ;
|
||||
# The logic below should actually be keyed on <target-os>
|
||||
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 ;
|
||||
|
||||
Reference in New Issue
Block a user