Skip to content

Commit a167ec0

Browse files
committed
Fixed -o parameter.
1 parent 305387a commit a167ec0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/make.pas‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@ function buildmakecommandline(const atag: integer): string;
564564
str1:= strcompiler + ' -o' +
565565
quotefilename(targpref+normalizename(targetfile+strexecext)) ;
566566
end
567-
else str1:= strcompiler;
567+
else if targpref = '-o' then str1:= strcompiler + ' -o' +
568+
quotefilename(normalizename(targetfile+strexecext)) ;
568569

569570
int2:= high(unitdirs);
570571
int1:= high(unitdirson);

0 commit comments

Comments
 (0)