mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* set default cpu type to armv7a when compiling for armhf
git-svn-id: trunk@22845 -
This commit is contained in:
parent
1f3870cc84
commit
f142019343
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user