mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 07:09:37 +02:00
IDE: fixed leading space in compiler options
git-svn-id: trunk@59897 -
This commit is contained in:
parent
458181e005
commit
9e8af3629d
@ -957,7 +957,8 @@ begin
|
||||
inc(EndPos);
|
||||
end;
|
||||
if EndPos>StartPos then begin
|
||||
Result:=Result+' '+Switch+copy(OptionStr,StartPos,EndPos-StartPos);
|
||||
if Result<>'' then Result:=Result+' ';
|
||||
Result:=Result+Switch+copy(OptionStr,StartPos,EndPos-StartPos);
|
||||
end;
|
||||
StartPos:=EndPos;
|
||||
end;
|
||||
@ -2867,6 +2868,7 @@ begin
|
||||
|
||||
if ccloAddCompilerPath in Flags then
|
||||
switches:=ConvertOptionsToCmdLine('',RealCompilerFilename);
|
||||
//writeln('TBaseCompilerOptions.MakeOptionsString RealCompilerFilename="',RealCompilerFilename,'" switches="',switches,'"');
|
||||
|
||||
CurTargetOS:='';
|
||||
CurTargetCPU:='';
|
||||
|
Loading…
Reference in New Issue
Block a user