mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 20:19:16 +02:00
lazbuild: fixed create Makefile.compiled
git-svn-id: trunk@40697 -
This commit is contained in:
parent
ca72db350a
commit
ba3392e716
@ -3561,7 +3561,7 @@ begin
|
|||||||
XMLConfig:=TXMLConfig.Create(TargetCompiledFile);
|
XMLConfig:=TXMLConfig.Create(TargetCompiledFile);
|
||||||
try
|
try
|
||||||
XMLConfig.SetValue('Makefile/Value',True);
|
XMLConfig.SetValue('Makefile/Value',True);
|
||||||
s:=OtherOptions;
|
s:='';
|
||||||
if UnitPath<>'' then
|
if UnitPath<>'' then
|
||||||
s:=s+' -Fu'+SwitchPathDelims(UnitPath,pdsUnix);
|
s:=s+' -Fu'+SwitchPathDelims(UnitPath,pdsUnix);
|
||||||
if IncPath<>'' then
|
if IncPath<>'' then
|
||||||
@ -3571,8 +3571,7 @@ begin
|
|||||||
// do no write the unit output directory
|
// do no write the unit output directory
|
||||||
// it is not needed because it is the location of the Makefile.compiled
|
// it is not needed because it is the location of the Makefile.compiled
|
||||||
s:=s+' '+SwitchPathDelims(CreateRelativePath(APackage.GetSrcFilename,APackage.Directory),pdsUnix);
|
s:=s+' '+SwitchPathDelims(CreateRelativePath(APackage.GetSrcFilename,APackage.Directory),pdsUnix);
|
||||||
|
//debugln(['TLazPackageGraph.WriteMakefileCompiled IncPath="',IncPath,'" UnitPath="',UnitPath,'" Custom="',OtherOptions,'"']);
|
||||||
//debugln(['TLazPackageGraph.WriteMakefileCompiled IncPath="',IncPath,'" UnitPath="',UnitPath,'" Custom="',CustomOptions,'" Out="',UnitOutputPath,'"']);
|
|
||||||
XMLConfig.SetValue('Params/Value',s);
|
XMLConfig.SetValue('Params/Value',s);
|
||||||
if XMLConfig.Modified then begin
|
if XMLConfig.Modified then begin
|
||||||
InvalidateFileStateCache;
|
InvalidateFileStateCache;
|
||||||
|
Loading…
Reference in New Issue
Block a user