Browse Source

android jvm doesn't need clocale unit

git-svn-id: trunk@39140 -
pierre 7 years ago
parent
commit
0673f181bb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/rtl-extra/fpmake.pp

+ 2 - 1
packages/rtl-extra/fpmake.pp

@@ -85,7 +85,8 @@ begin
     // from the 'android' dir, not the 'unix' dir.
     // from the 'android' dir, not the 'unix' dir.
     T:=P.Targets.AddUnit('real48utils.pp',AllTargetsextra-[msdos,win16]  { msdos,win16 excluded temporarily, until bitpacked records containing longints on 16-bit targets are fixed }
     T:=P.Targets.AddUnit('real48utils.pp',AllTargetsextra-[msdos,win16]  { msdos,win16 excluded temporarily, until bitpacked records containing longints on 16-bit targets are fixed }
                                                          -[embedded]);   { at least avr has no floats }
                                                          -[embedded]);   { at least avr has no floats }
-    T:=P.Targets.AddUnit('clocale.pp',[android]);
+    if Defaults.CPU<>jvm then
+      T:=P.Targets.AddUnit('clocale.pp',[android]);
 
 
     T:=P.Targets.AddUnit('ucomplex.pp',UComplexOSes);
     T:=P.Targets.AddUnit('ucomplex.pp',UComplexOSes);