mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 13:45:58 +02:00
* Do not check platform-availability for manifest and archive commands
git-svn-id: trunk@15267 -
This commit is contained in:
parent
b475fa84d7
commit
d4af41d4bf
@ -274,8 +274,9 @@ begin
|
|||||||
P:=nil;
|
P:=nil;
|
||||||
if assigned(P) then
|
if assigned(P) then
|
||||||
begin
|
begin
|
||||||
if not(CompilerOptions.CompilerOS in P.OSes) or
|
if (command<>'archive') and (command<>'manifest') and
|
||||||
not(CompilerOptions.CompilerCPU in P.CPUs) then
|
(not(CompilerOptions.CompilerOS in P.OSes) or
|
||||||
|
not(CompilerOptions.CompilerCPU in P.CPUs)) then
|
||||||
Error(SErrPackageDoesNotSupportTarget,[P.Name,MakeTargetString(CompilerOptions.CompilerCPU,CompilerOptions.CompilerOS)]);
|
Error(SErrPackageDoesNotSupportTarget,[P.Name,MakeTargetString(CompilerOptions.CompilerCPU,CompilerOptions.CompilerOS)]);
|
||||||
end;
|
end;
|
||||||
{ Maybe compile fpmake executable? }
|
{ Maybe compile fpmake executable? }
|
||||||
|
Loading…
Reference in New Issue
Block a user