mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 20:50:32 +02:00
* 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:
parent
dc3985bb36
commit
1379c27cf3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user