Browse Source

* FindInstalledPackages nowadays scans for both compileroptions at once

git-svn-id: trunk@34669 -
joost 8 years ago
parent
commit
1d2dca50a9
1 changed files with 0 additions and 8 deletions
  1. 0 8
      utils/fppkg/fppkg.pp

+ 0 - 8
utils/fppkg/fppkg.pp

@@ -339,14 +339,6 @@ begin
         end;
         end;
       end;
       end;
     FindInstalledPackages(GFPpkg.FPMakeCompilerOptions,true);
     FindInstalledPackages(GFPpkg.FPMakeCompilerOptions,true);
-    // We only need to reload the status when we use a different
-    // configuration for compiling fpmake or when the CPU, OS or compiler
-    // are set in the command-line
-    if (GFPpkg.Options.GlobalSection.CompilerConfig<>GFPpkg.Options.GlobalSection.FPMakeCompilerConfig) or
-       (GFPpkg.CompilerOptions.CompilerCPU<>GFPpkg.FPMakeCompilerOptions.CompilerCPU) or
-       (GFPpkg.CompilerOptions.CompilerOS<>GFPpkg.FPMakeCompilerOptions.CompilerOS) or
-       (GFPpkg.CompilerOptions.Compiler<>GFPpkg.FPMakeCompilerOptions.Compiler) then
-      FindInstalledPackages(GFPpkg.CompilerOptions,true);
 
 
     // Check for broken dependencies
     // Check for broken dependencies
     if not GFPpkg.Options.CommandLineSection.AllowBroken and
     if not GFPpkg.Options.CommandLineSection.AllowBroken and