ソースを参照

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

git-svn-id: trunk@15267 -
joost 15 年 前
コミット
d4af41d4bf
1 ファイル変更3 行追加2 行削除
  1. 3 2
      utils/fppkg/pkgfpmake.pp

+ 3 - 2
utils/fppkg/pkgfpmake.pp

@@ -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? }