Build fails on Linux with clang
I built dav1d successed on Linux x86-64 machine, and run build/tools/dav1d successed.
But I need to build dav1d for Android, so I build davld with cross-file, and using clang , I had try clang version 6/7/8, it is all the same.
The compilation command is as follows:
meson build --buildtype release --cross-file cross-cfg.ini
ninja -C build
Ninja built failure in compiling .s file, please help check the following error log:
[43/92] Compiling C object 'src/25a6634@@dav1d@sha/arm_32_looprestoration.S.o'. FAILED: src/25a6634@@dav1d@sha/arm_32_looprestoration.S.o ....... ../src/arm/asm.S:34:9: error: unknown directive .syntax unified ^ ../src/arm/asm.S:36:9: error: unknown directive .arch armv7-a ^
Please see the attachment for full log.