lazbuild: fixed build

git-svn-id: trunk@53185 -
This commit is contained in:
mattias 2016-10-20 20:20:38 +00:00
parent a9051948ae
commit 1a654e3c8b
2 changed files with 2 additions and 0 deletions

View File

@ -867,6 +867,7 @@ var
if (CompReason in Project1.CompilerOptions.CompileReasons) then begin
// compile
// write state file to avoid building clean every time
if Project1.SaveStateFile(CompilerFilename,CompilerParams,false)<>mrOk then
Error(ErrorBuildFailed,'failed saving statefile of project '+AFilename);

View File

@ -676,6 +676,7 @@ var
Param: TFPCParamValue;
Msg: String;
begin
if IDEMessagesWindow=nil then exit;
ParsedParams:=TObjectList.Create(true);
try
ParseFPCParameters(CompilerParams,ParsedParams);