* Do not check platform-availability for manifest and archive commands

git-svn-id: trunk@15267 -
This commit is contained in:
joost 2010-05-13 17:12:58 +00:00
parent b475fa84d7
commit d4af41d4bf

View File

@ -274,8 +274,9 @@ begin
P:=nil;
if assigned(P) then
begin
if not(CompilerOptions.CompilerOS in P.OSes) or
not(CompilerOptions.CompilerCPU in P.CPUs) then
if (command<>'archive') and (command<>'manifest') and
(not(CompilerOptions.CompilerOS in P.OSes) or
not(CompilerOptions.CompilerCPU in P.CPUs)) then
Error(SErrPackageDoesNotSupportTarget,[P.Name,MakeTargetString(CompilerOptions.CompilerCPU,CompilerOptions.CompilerOS)]);
end;
{ Maybe compile fpmake executable? }