mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 07:00:04 +02:00
codetools: check if fpc cfg needs update
git-svn-id: trunk@25383 -
This commit is contained in:
parent
970c7a531c
commit
7fe1c5270e
@ -6762,6 +6762,7 @@ begin
|
|||||||
ExtraOptions:='-T'+TargetOS+' -P'+TargetCPU;
|
ExtraOptions:='-T'+TargetOS+' -P'+TargetCPU;
|
||||||
RunFPCVerbose(Compiler,TestFilename,CfgFiles,TargetCompiler,UnitPaths,
|
RunFPCVerbose(Compiler,TestFilename,CfgFiles,TargetCompiler,UnitPaths,
|
||||||
Defines,Undefines,ExtraOptions);
|
Defines,Undefines,ExtraOptions);
|
||||||
|
CompilerDate:=FileAgeCached(Compiler);
|
||||||
// store the used target compiler
|
// store the used target compiler
|
||||||
if (TargetCompiler<>'') and FileExistsCached(TargetCompiler) then
|
if (TargetCompiler<>'') and FileExistsCached(TargetCompiler) then
|
||||||
TargetCompilerDate:=FileAgeCached(TargetCompiler);
|
TargetCompilerDate:=FileAgeCached(TargetCompiler);
|
||||||
|
Loading…
Reference in New Issue
Block a user