mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 13:42:14 +00:00
Merge:\n * tools/stage.jam (rename): Generate 'vc6' and 'vc7' suffixes
instead of 'vc60' and 'vc70', to match V1 behaviour. [SVN r35148]
This commit is contained in:
@@ -516,6 +516,22 @@ rule rename ( name : type ? : property-set : unversioned ? )
|
||||
case vacpp* : toolset-tag += xlc ;
|
||||
}
|
||||
local version = [ MATCH "<toolset.*version>([0123456789]+)[.]([0123456789]*)" : $(properties) ] ;
|
||||
# For historical reasons, vc6.0 and vc7.0 use different
|
||||
# naming.
|
||||
if $(toolset-tag) = vc
|
||||
{
|
||||
if $(version[1]) = 6
|
||||
{
|
||||
# Cancel minor version.
|
||||
version = 6 ;
|
||||
}
|
||||
else if $(version[1]) = 7 && $(version[2]) = 0
|
||||
{
|
||||
version = 7 ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
toolset-tag += $(version) ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user