mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 23:52:31 +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)
|
||||
|
||||
}
|
||||
if (TargetFilename <> '') or (MainSourceFilename<>'') then
|
||||
switches := switches + ' -o' + CreateTargetFilename(MainSourceFilename);
|
||||
if (TargetFilename <> '') or (MainSourceFilename<>'') then begin
|
||||
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
|
||||
the above completed. }
|
||||
|
Loading…
Reference in New Issue
Block a user