Skip to content
Snippets Groups Projects
Commit bed3a343 authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf
Browse files

arm: Use /proc/cpuinfo on linux if getauxval is unavailable

On really old libc versions, getauxval isn't available. Fall back
on /proc/cpuinfo in those cases, just like we do on android too.
parent 718b62c8
No related branches found
No related tags found
1 merge request!1759arm: Use /proc/cpuinfo on linux if getauxval is unavailable
Pipeline #534019 passed with stages
in 35 minutes and 17 seconds
......@@ -158,7 +158,7 @@ COLD unsigned dav1d_get_cpu_flags_arm(void) {
return flags;
}
#elif defined(__ANDROID__)
#elif defined(__ANDROID__) || defined(__linux__)
#include <ctype.h>
#include <stdio.h>
#include <string.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment