* check package os and cpu before resolving filenames, reduces

warnings in archiving mode for packages for only a couple of oses

git-svn-id: trunk@9914 -
This commit is contained in:
peter 2008-01-24 23:58:26 +00:00
parent dc3985bb36
commit 1379c27cf3

View File

@ -3305,6 +3305,8 @@ var
T : TTarget;
i : Integer;
begin
if not((ACPU in APackage.CPUs) and (AOS in APackage.OSes)) then
exit;
Dictionary.AddVariable('CPU',CPUToString(ACPU));
Dictionary.AddVariable('OS',OSToString(AOS));
For I:=0 to APackage.Targets.Count-1 do