Commit 2689dfb5 authored by Janne Grunau's avatar Janne Grunau Committed by Jean-Baptiste Kempf

arm: call dav1d_get_cpu_flags_arm only when asm is enabled

Fix 136.
parent 9c68e809
......@@ -37,7 +37,7 @@ unsigned dav1d_get_cpu_flags(void) {
static uint8_t checked = 0;
if (!checked) {
#if ARCH_AARCH64 || ARCH_ARM
#if (ARCH_AARCH64 || ARCH_ARM) && HAVE_ASM
flags = dav1d_get_cpu_flags_arm();
#elif ARCH_X86 && HAVE_ASM
flags = dav1d_get_cpu_flags_x86();
......
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