Merge pull request #1281 from sharkcz/armv8

fix detection of generic ARMv8 CPUs
This commit is contained in:
Martin Kroeker 2017-08-19 20:37:19 +02:00 committed by GitHub
commit 50715e8945
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ int detect(void)
if(p != NULL)
{
if (strstr(p, "AArch64"))
if ((strstr(p, "AArch64")) || (strstr(p, "8")))
{
return CPU_ARMV8;