Browse Source

* arm-android: Compile for ARMv5T by default to be compatible with all versions of Android.

git-svn-id: trunk@32078 -
yury 9 years ago
parent
commit
36622eaba9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      compiler/options.pas

+ 3 - 3
compiler/options.pas

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