IDE: test compiler options: update fpc settings

git-svn-id: trunk@36462 -
This commit is contained in:
mattias 2012-03-30 14:08:00 +00:00
parent 7ce24999ea
commit f17d10d7ac

View File

@ -882,6 +882,9 @@ begin
TargetCPU:=Options.TargetCPU;
CfgCache:=CodeToolBoss.FPCDefinesCache.ConfigCaches.Find(CompilerFilename,
'',TargetOS,TargetCPU,true);
if CfgCache.NeedsUpdate then
CfgCache.Update(CodeToolBoss.FPCDefinesCache.TestFilename,
CodeToolBoss.FPCDefinesCache.ExtraOptions);
// check compiler config
Result:=CheckCompilerConfig(CfgCache);