mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 14:59:17 +02:00
codetools: do not automatically pass -Fr to pas2js
git-svn-id: branches/fixes_2_0@59457 -
This commit is contained in:
parent
19b5cdc8c5
commit
607e517238
@ -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+' ';
|
||||
|
Loading…
Reference in New Issue
Block a user