* When the OS,CPU or compiler are specifically given on the command line, the

fpmake-compileroptions and default compileroptions can differ. Even when
   they are based on the same configuration file.

git-svn-id: trunk@20065 -
This commit is contained in:
joost 2012-01-13 15:39:27 +00:00
parent 46e3403c31
commit a26f1d9dd3

View File

@ -320,8 +320,12 @@ begin
FindInstalledPackages(FPMakeCompilerOptions,true);
CheckFPMakeDependencies;
// We only need to reload the status when we use a different
// configuration for compiling fpmake
if GlobalOptions.CompilerConfig<>GlobalOptions.FPMakeCompilerConfig then
// configuration for compiling fpmake or when the CPU, OS or compiler
// are set in the command-line
if (GlobalOptions.CompilerConfig<>GlobalOptions.FPMakeCompilerConfig) or
(CompilerOptions.CompilerCPU<>FPMakeCompilerOptions.CompilerCPU) or
(CompilerOptions.CompilerOS<>FPMakeCompilerOptions.CompilerOS) or
(CompilerOptions.Compiler<>FPMakeCompilerOptions.Compiler) then
FindInstalledPackages(CompilerOptions,true);
// Check for broken dependencies