Browse Source

* Set ARMv6 as default CPU for arm-android to eliminate multi-threading issues on multi-core CPUs.

git-svn-id: trunk@31718 -
yury 10 years ago
parent
commit
67758f450e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      compiler/options.pas

+ 3 - 3
compiler/options.pas

@@ -3751,11 +3751,11 @@ begin
       end;
       end;
     system_arm_android:
     system_arm_android:
       begin
       begin
-        { set default cpu type to ARMv5T for Android unless specified otherwise }
+        { set default cpu type to ARMv6 for Android unless specified otherwise }
         if not option.CPUSetExplicitly then
         if not option.CPUSetExplicitly then
-          init_settings.cputype:=cpu_armv5t;
+          init_settings.cputype:=cpu_armv6;
         if not option.OptCPUSetExplicitly then
         if not option.OptCPUSetExplicitly then
-          init_settings.optimizecputype:=cpu_armv5t;
+          init_settings.optimizecputype:=cpu_armv6;
       end;
       end;
   end;
   end;