mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-05 22:06:13 +02:00
* default to ARMv7/VFPv3 for Darwin/ARM (since that's what most iOS devices
use nowadays) git-svn-id: trunk@31302 -
This commit is contained in:
parent
39016c032e
commit
0d87df71a9
@ -3741,14 +3741,15 @@ begin
|
||||
case target_info.system of
|
||||
system_arm_darwin:
|
||||
begin
|
||||
{ set default cpu type to ARMv6 for Darwin unless specified otherwise, and fpu
|
||||
to VFPv2 }
|
||||
{ set default cpu type to ARMv7 for Darwin unless specified otherwise, and fpu
|
||||
to VFPv3 (that's what all 32 bit ARM iOS devices use nowadays)
|
||||
}
|
||||
if not option.CPUSetExplicitly then
|
||||
init_settings.cputype:=cpu_armv6;
|
||||
init_settings.cputype:=cpu_armv7;
|
||||
if not option.OptCPUSetExplicitly then
|
||||
init_settings.optimizecputype:=cpu_armv6;
|
||||
init_settings.optimizecputype:=cpu_armv7;
|
||||
if not option.FPUSetExplicitly then
|
||||
init_settings.fputype:=fpu_vfpv2;
|
||||
init_settings.fputype:=fpu_vfpv3;
|
||||
end;
|
||||
system_arm_android:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user