From 1763e015672c3cb829a77547949ada26a9f0918c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Fri, 18 Aug 2017 14:53:29 +0200 Subject: [PATCH] fix detection of generic ARMv8 CPUs --- cpuid_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuid_arm64.c b/cpuid_arm64.c index 9b318e700..3a7aec7be 100644 --- a/cpuid_arm64.c +++ b/cpuid_arm64.c @@ -142,7 +142,7 @@ int detect(void) if(p != NULL) { - if (strstr(p, "AArch64")) + if ((strstr(p, "AArch64")) || (strstr(p, "8"))) { return CPU_ARMV8;