瀏覽代碼

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

git-svn-id: trunk@31718 -
yury 10 年之前
父節點
當前提交
67758f450e
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      compiler/options.pas

+ 3 - 3
compiler/options.pas

@@ -3751,11 +3751,11 @@ begin
       end;
     system_arm_android:
       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
-          init_settings.cputype:=cpu_armv5t;
+          init_settings.cputype:=cpu_armv6;
         if not option.OptCPUSetExplicitly then
-          init_settings.optimizecputype:=cpu_armv5t;
+          init_settings.optimizecputype:=cpu_armv6;
       end;
   end;