Commit 674f4dac authored by Martin Storsjö's avatar Martin Storsjö

contrib: aom: Set AOM_TARGET_CPU=generic for windows on arm/arm64

This avoids trying to use any assembler optimizations there; enabling
that requires a bit more patching.

This fixes building aom for armv7 and aarch64 with llvm-mingw.
parent 02644bdb
......@@ -43,6 +43,14 @@ ifndef HAVE_WIN32
AOM_CONF += -DCONFIG_PIC=1
endif
ifdef HAVE_WIN32
ifneq ($(filter arm aarch64, $(ARCH)),)
# These configurations don't build with asm enabled yet, witout further
# patching.
AOM_CONF += -DAOM_TARGET_CPU=generic
endif
endif
# libaom doesn't allow in-tree builds
.aom: aom toolchain.cmake
cd $< && mkdir -p aom_build
......
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