IDE: CheckCompilerQuality: ppcjvm: check for uuchar.ppu instead of classes.ppu

git-svn-id: trunk@48275 -
This commit is contained in:
mattias 2015-03-11 23:41:16 +00:00
parent 0190617b21
commit 9d6d80a58d

View File

@ -355,12 +355,21 @@ begin
Note:=lisSystemPpuNotFoundCheckYourFpcCfg;
exit;
end;
if CompareFileExt(CfgCache.Units['classes'],'ppu',false)<>0 then
if (CfgCache.RealTargetCPU='jvm') then
begin
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;
Note:=lisOk;
Result:=sddqCompatible;