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

git-svn-id: branches/fixes_1_4@48276 -
This commit is contained in:
mattias 2015-03-11 23:41:36 +00:00
parent 2e32fef865
commit ba5b829daa

View File

@ -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;