fix detection of generic ARMv8 CPUs
This commit is contained in:
parent
a8a342ccc4
commit
1763e01567
|
@ -142,7 +142,7 @@ int detect(void)
|
||||||
if(p != NULL)
|
if(p != NULL)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (strstr(p, "AArch64"))
|
if ((strstr(p, "AArch64")) || (strstr(p, "8")))
|
||||||
{
|
{
|
||||||
return CPU_ARMV8;
|
return CPU_ARMV8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue