codetools: do not automatically pass -Fr to pas2js

git-svn-id: trunk@59456 -
This commit is contained in:
mattias 2018-11-05 10:32:04 +00:00
parent d2bf8187e3
commit 9530425edf

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+' ';