mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 19:20:17 +02:00
lazbuild: pass absolute paths to compiler, to make sure that external tools resolve symlinks correctly
git-svn-id: trunk@39457 -
This commit is contained in:
parent
53feb116ae
commit
6ff833e38d
@ -826,8 +826,8 @@ begin
|
||||
else
|
||||
CompilerFilename:=Project1.GetCompilerFilename;
|
||||
//DebugLn(['TLazBuildApplication.BuildProject CompilerFilename="',CompilerFilename,'" CompilerPath="',Project1.CompilerOptions.CompilerPath,'"']);
|
||||
CompilerParams:=Project1.CompilerOptions.MakeOptionsString(SrcFilename,[])
|
||||
+' '+PrepareCmdLineOption(SrcFilename);
|
||||
CompilerParams:=Project1.CompilerOptions.MakeOptionsString(SrcFilename,[ccloAbsolutePaths])
|
||||
+' '+PrepareCmdLineOption(SrcFilename);
|
||||
|
||||
NeedBuildAllFlag:=false;
|
||||
if (crCompile in Project1.CompilerOptions.CompileReasons) then begin
|
||||
|
Loading…
Reference in New Issue
Block a user