diff --git a/compiler/options.pas b/compiler/options.pas index bdb460539a..78e52c87d3 100644 --- a/compiler/options.pas +++ b/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}