mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 19:00:58 +02:00
IDE: CheckCompilerQuality: ppcjvm: check for uuchar.ppu instead of classes.ppu
git-svn-id: branches/fixes_1_4@48276 -
This commit is contained in:
parent
2e32fef865
commit
ba5b829daa
@ -355,10 +355,19 @@ begin
|
||||
Note:=lisSystemPpuNotFoundCheckYourFpcCfg;
|
||||
exit;
|
||||
end;
|
||||
if CompareFileExt(CfgCache.Units['classes'],'ppu',false)<>0 then
|
||||
if (CfgCache.RealTargetCPU='jvm') then
|
||||
begin
|
||||
Note:=lisClassesPpuNotFoundCheckYourFpcCfg;
|
||||
exit;
|
||||
if (CompareFileExt(CfgCache.Units['uuchar'],'ppu',false)<>0) then
|
||||
begin
|
||||
Note:= 'uuchar.ppu not found. Check your fpc.cfg.';
|
||||
exit;
|
||||
end;
|
||||
end else begin
|
||||
if (CompareFileExt(CfgCache.Units['classes'],'ppu',false)<>0) then
|
||||
begin
|
||||
Note:=lisClassesPpuNotFoundCheckYourFpcCfg;
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user