mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 10:39:22 +02:00
lazbuild: fixed compilation
git-svn-id: trunk@36310 -
This commit is contained in:
parent
87a68cb889
commit
fa2e6f2561
@ -410,6 +410,7 @@ var
|
||||
TargetDir: String;
|
||||
i: Integer;
|
||||
s: String;
|
||||
ProfileChanged: boolean;
|
||||
begin
|
||||
Result:=false;
|
||||
Init;
|
||||
@ -491,18 +492,19 @@ begin
|
||||
PackageGraph.FirstAutoInstallDependency,InheritedOptionStrings{%H-});
|
||||
|
||||
// save
|
||||
CurResult:=SaveIDEMakeOptions(BuildLazProfiles,GlobalMacroList,PkgOptions,Flags);
|
||||
CurResult:=SaveIDEMakeOptions(BuildLazProfiles.Current,GlobalMacroList,PkgOptions,Flags);
|
||||
if CurResult<>mrOk then begin
|
||||
DebugLn('TLazBuildApplication.BuildLazarusIDE: failed saving idemake.cfg');
|
||||
exit;
|
||||
end;
|
||||
|
||||
// compile IDE
|
||||
CurResult:=BuildLazarus(BuildLazProfiles,
|
||||
ProfileChanged:=false;
|
||||
CurResult:=BuildLazarus(BuildLazProfiles.Current,
|
||||
EnvironmentOptions.ExternalTools,GlobalMacroList,
|
||||
PkgOptions,EnvironmentOptions.CompilerFilename,
|
||||
EnvironmentOptions.MakeFilename,
|
||||
Flags+[blfUseMakeIDECfg,blfReplaceExe]);
|
||||
Flags+[blfUseMakeIDECfg,blfReplaceExe],ProfileChanged);
|
||||
if CurResult<>mrOk then begin
|
||||
DebugLn('TLazBuildApplication.BuildLazarusIDE: Building IDE failed.');
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user