mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:26:24 +02:00
* Set ARMv6 as default CPU for arm-android to eliminate multi-threading issues on multi-core CPUs.
git-svn-id: trunk@31718 -
This commit is contained in:
parent
5c71414d02
commit
67758f450e
@ -3751,11 +3751,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
system_arm_android:
|
system_arm_android:
|
||||||
begin
|
begin
|
||||||
{ set default cpu type to ARMv5T for Android unless specified otherwise }
|
{ set default cpu type to ARMv6 for Android unless specified otherwise }
|
||||||
if not option.CPUSetExplicitly then
|
if not option.CPUSetExplicitly then
|
||||||
init_settings.cputype:=cpu_armv5t;
|
init_settings.cputype:=cpu_armv6;
|
||||||
if not option.OptCPUSetExplicitly then
|
if not option.OptCPUSetExplicitly then
|
||||||
init_settings.optimizecputype:=cpu_armv5t;
|
init_settings.optimizecputype:=cpu_armv6;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user