shithub: openh264

Download patch

ref: 654e71e37068bd14b3d169b01a12d8a53ad110bc
parent: 894d1a23b9b2a0358c36803e324e39d2e5e868e4
author: Martin Storsjö <martin@martin.st>
date: Sat Oct 14 18:51:53 EDT 2017

Add support for building with ARCH=arm64 with MSVC

This requires the absolute latest version of gas-preprocessor though.

--- a/build/msvc-common.mk
+++ b/build/msvc-common.mk
@@ -12,6 +12,10 @@
 CCAS = gas-preprocessor.pl -as-type armasm -force-thumb -- armasm
 CCASFLAGS = -nologo -DHAVE_NEON -ignore 4509
 endif
+ifeq ($(ASM_ARCH), arm64)
+CCAS = gas-preprocessor.pl -as-type armasm -arch aarch64 -- armasm64
+CCASFLAGS = -nologo -DHAVE_NEON_AARCH64
+endif
 
 CC=cl
 CXX=cl