diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2023-10-29 18:48:22 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2023-11-02 21:03:43 +0100 |
commit | 0ea184fc39b48096713dbdf9c9b39de3a976d6eb (patch) | |
tree | ce16de1e7c54304805ca8dc9c4c3abdace402c99 /libavutil | |
parent | a31992634f0d3b1ab2d2a6b89440dd0120af5b97 (diff) | |
download | ffmpeg-0ea184fc39b48096713dbdf9c9b39de3a976d6eb.tar.gz |
libavutil/aarch64/cpu.c: HWCAPS requires inline asm support.
Fixes compilation with tcc, which does not have aarch64
inline asm support.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/aarch64/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/aarch64/cpu.c b/libavutil/aarch64/cpu.c index 2b50c426bc..f27fef3992 100644 --- a/libavutil/aarch64/cpu.c +++ b/libavutil/aarch64/cpu.c @@ -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 |