commit 7222708
Samuel MarĂn Soto
·
2026-05-03 02:12:06 +0000 UTC
parent 80592f5
dav1d: build on riscv64 Edit config.h to disable x86 defs and add a conditional to use edited config.h on riscv64 builds, use regular config.h otherwise.
1 files changed,
+2,
-0
+2,
-0
1@@ -10,8 +10,10 @@
2 #define CONFIG_8BPC 1
3 #define CONFIG_LOG 1
4 #define ENDIANNESS_BIG 0
5+#if defined(__x86_64__) && !defined(__ILP32__)
6 #define HAVE_ASM 1
7 #define HAVE_AVX512ICL 1
8+#endif
9 #define HAVE_CLOCK_GETTIME 1
10 #define HAVE_DLSYM 1
11 #define HAVE_POSIX_MEMALIGN 1