codetools: do not automatically pass -Fr to pas2js

git-svn-id: branches/fixes_2_0@59457 -
This commit is contained in:
mattias 2018-11-05 10:32:22 +00:00
parent 19b5cdc8c5
commit 607e517238

View File

@ -6100,7 +6100,8 @@ begin
Step:='Init';
try
CmdLine:=CompilerPath+' -va ';
if FileExistsCached(EnglishErrorMsgFilename) then
if (Pos('pas2js',lowercase(ExtractFileName(CompilerPath)))<1)
and FileExistsCached(EnglishErrorMsgFilename) then
CmdLine:=CmdLine+'-Fr'+EnglishErrorMsgFilename+' ';
if CompilerOptions<>'' then
CmdLine:=CmdLine+CompilerOptions+' ';