mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 20:58:32 +02:00
lazbuild: fixed compilation
git-svn-id: trunk@28899 -
This commit is contained in:
parent
5e9003e17e
commit
ea6c4b0e0b
@ -516,8 +516,7 @@ begin
|
||||
|
||||
// compile all auto install dependencies
|
||||
CurResult:=PackageGraph.CompileRequiredPackages(nil,
|
||||
PackageGraph.FirstAutoInstallDependency,
|
||||
MiscellaneousOptions.BuildLazProfiles.Globals,[pupAsNeeded]);
|
||||
PackageGraph.FirstAutoInstallDependency,[pupAsNeeded]);
|
||||
if CurResult<>mrOk then exit;
|
||||
|
||||
finally
|
||||
@ -643,7 +642,6 @@ begin
|
||||
// automatically compile required packages
|
||||
if PackageGraph.CompileRequiredPackages(nil,
|
||||
Project1.FirstRequiredDependency,
|
||||
Project1.CompilerOptions.Globals,
|
||||
[pupAsNeeded])<>mrOk
|
||||
then
|
||||
Error(ErrorBuildFailed,'Project dependencies of '+AFilename);
|
||||
@ -689,7 +687,7 @@ begin
|
||||
else
|
||||
CompilerFilename:=Project1.GetCompilerFilename;
|
||||
//DebugLn(['TMainIDE.DoBuildProject CompilerFilename="',CompilerFilename,'" CompilerPath="',Project1.CompilerOptions.CompilerPath,'"']);
|
||||
CompilerParams:=Project1.CompilerOptions.MakeOptionsString(SrcFilename,nil,[])
|
||||
CompilerParams:=Project1.CompilerOptions.MakeOptionsString(SrcFilename,[])
|
||||
+' '+PrepareCmdLineOption(SrcFilename);
|
||||
|
||||
// execute compilation tool 'Before'
|
||||
|
Loading…
Reference in New Issue
Block a user