codetools: check if fpc cfg needs update

git-svn-id: trunk@25383 -
This commit is contained in:
mattias 2010-05-13 18:59:00 +00:00
parent 970c7a531c
commit 7fe1c5270e

View File

@ -6762,6 +6762,7 @@ begin
ExtraOptions:='-T'+TargetOS+' -P'+TargetCPU;
RunFPCVerbose(Compiler,TestFilename,CfgFiles,TargetCompiler,UnitPaths,
Defines,Undefines,ExtraOptions);
CompilerDate:=FileAgeCached(Compiler);
// store the used target compiler
if (TargetCompiler<>'') and FileExistsCached(TargetCompiler) then
TargetCompilerDate:=FileAgeCached(TargetCompiler);