* set default cpu type to armv7a when compiling for armhf

git-svn-id: trunk@22845 -
This commit is contained in:
florian 2012-10-24 19:09:16 +00:00
parent 1f3870cc84
commit f142019343

View File

@ -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}