mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-16 11:09:36 +02:00
MG: compiler out file only if different
git-svn-id: trunk@427 -
This commit is contained in:
parent
fba4f31c5a
commit
c0580a1c76
@ -882,8 +882,11 @@ begin
|
|||||||
-Xc = Link with C library (LINUX only)
|
-Xc = Link with C library (LINUX only)
|
||||||
|
|
||||||
}
|
}
|
||||||
if (TargetFilename <> '') or (MainSourceFilename<>'') then
|
if (TargetFilename <> '') or (MainSourceFilename<>'') then begin
|
||||||
switches := switches + ' -o' + CreateTargetFilename(MainSourceFilename);
|
tempsw:=CreateTargetFilename(MainSourceFilename);
|
||||||
|
if tempsw <> ChangeFileExt(MainSourceFilename,'') then
|
||||||
|
switches := switches + ' -o' + tempsw;
|
||||||
|
end;
|
||||||
|
|
||||||
{ Setting this to a default for now to allow the compiler to compile, until I get
|
{ Setting this to a default for now to allow the compiler to compile, until I get
|
||||||
the above completed. }
|
the above completed. }
|
||||||
|
Loading…
Reference in New Issue
Block a user