Commit 0ea184fc authored by Reimar Döffinger's avatar Reimar Döffinger

libavutil/aarch64/cpu.c: HWCAPS requires inline asm support.

Fixes compilation with tcc, which does not have aarch64
inline asm support.
parent a3199263
......@@ -31,7 +31,7 @@ static int detect_flags(void)
{
int flags = 0;
#if defined(HWCAP_CPUID)
#if defined(HWCAP_CPUID) && HAVE_INLINE_ASM
unsigned long hwcap = getauxval(AT_HWCAP);
// We can check for DOTPROD and I8MM using HWCAP_ASIMDDP and
// HWCAP2_I8MM too, avoiding to read the CPUID registers (which triggers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment