From 0d87df71a96db878e1063476b251b0626773f88b Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 9 Aug 2015 09:08:26 +0000 Subject: [PATCH] * default to ARMv7/VFPv3 for Darwin/ARM (since that's what most iOS devices use nowadays) git-svn-id: trunk@31302 - --- compiler/options.pas | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/compiler/options.pas b/compiler/options.pas index 55a6bd622f..b41775d883 100644 --- a/compiler/options.pas +++ b/compiler/options.pas @@ -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