Skip to content

Commit 8ceda02

Browse files
committed
CPU (Linux): query SOC name in cpuinfo for aarch64
Fix #1510
1 parent c005bc5 commit 8ceda02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/cpu/cpu_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static const char* parseCpuInfo(
280280
{
281281
//Stop after reasonable information is acquired
282282
if((*line == '\0' || *line == '\n')
283-
#if __arm__ || __loongarch__
283+
#if __arm__ || __aarch64__ || __loongarch__
284284
&& cpu->name.length > 0 // #1202 #1204
285285
#endif
286286
)

0 commit comments

Comments
 (0)