2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-10 23:32:20 +00:00

Don't check link compatibility for alias and stage targets, since it makes

no sense for them.


[SVN r21111]
This commit is contained in:
Vladimir Prus
2003-12-03 07:05:47 +00:00
parent ee7117acee
commit ae7a398ac7
2 changed files with 10 additions and 0 deletions

View File

@@ -44,6 +44,12 @@ class alias-target-class : basic-target
return $(source-targets) ;
}
# This check makes no sense for 'alias', so just
# disable it.
rule check-for-link-compatibility ( * : * )
{
}
rule compute-usage-requirements ( subvariant )
{
local base = [ basic-target.compute-usage-requirements $(subvariant) ] ;

View File

@@ -189,6 +189,10 @@ class stage-target-class : basic-target
{
}
rule check-for-link-compatibility ( * : * )
{
}
# Returns true iff 'type' is subtype of some element of 'types-to-include'.
local rule include-type ( type : types-to-include * )
{