diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2023-12-05 17:54:26 +0200 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2023-12-08 17:21:09 +0200 |
commit | b3825bbe452c8e4f129fa90bba1fed0ee7b87d71 (patch) | |
tree | 022ae13a579e7e282a307e009e7ce983aa2704f9 /tests/checkasm/checkasm.c | |
parent | 0b9d009b4a85be31ed8ba1a9cece3b2db3e4d2f3 (diff) | |
download | ffmpeg-b3825bbe452c8e4f129fa90bba1fed0ee7b87d71.tar.gz |
riscv: test for assembler support
This should fix the build on LLVM 16 and earlier, at the cost of turning
all non-RVV optimisations off.
Diffstat (limited to 'tests/checkasm/checkasm.c')
-rw-r--r-- | tests/checkasm/checkasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index 0a1285eca4..636dac5ad5 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -738,7 +738,7 @@ int main(int argc, char *argv[]) if (have_vfp(av_get_cpu_flags()) || have_neon(av_get_cpu_flags())) checkasm_checked_call = checkasm_checked_call_vfp; #endif -#if ARCH_RISCV +#if ARCH_RISCV && HAVE_RV struct sigaction act = { .sa_handler = checkasm_handle_signal, .sa_flags = 0, |