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.
This commit is contained in:
Rémi Denis-Courmont 2023-12-05 17:54:26 +02:00
parent 0b9d009b4a
commit b3825bbe45
13 changed files with 33 additions and 16 deletions

View file

@ -1,3 +1,3 @@
OBJS += riscv/rgb2rgb.o
OBJS += riscv/rgb2rgb_rvb.o
RV-OBJS += riscv/rgb2rgb_rvb.o
RVV-OBJS += riscv/rgb2rgb_rvv.o