2
0
Эх сурвалжийг харах

* set default cpu type to armv7a when compiling for armhf

git-svn-id: trunk@22845 -
florian 12 жил өмнө
parent
commit
f142019343
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      compiler/options.pas

+ 3 - 3
compiler/options.pas

@@ -3176,7 +3176,7 @@ if (target_info.system=system_arm_darwin) then
       init_settings.fputype:=fpu_vfpv2;
   end;
 
-{ set default cpu type to ARMv7 for ARMHF unless specified otherwise }
+{ set default cpu type to ARMv7a for ARMHF unless specified otherwise }
 if (target_info.abi = abi_eabihf) then
   begin
 {$ifdef CPUARMV6}
@@ -3190,9 +3190,9 @@ if (target_info.abi = abi_eabihf) then
       init_settings.optimizecputype:=cpu_armv6;
 {$else CPUARMV6}
     if not option.CPUSetExplicitly then
-      init_settings.cputype:=cpu_armv7;
+      init_settings.cputype:=cpu_armv7a;
     if not option.OptCPUSetExplicitly then
-      init_settings.optimizecputype:=cpu_armv7;
+      init_settings.optimizecputype:=cpu_armv7a;
 {$endif CPUARMV6}
   end;
 {$endif arm}