shithub: openh264

Download patch

ref: e8d5108dbc5255447ad0ab28ddba83aaf8685d76
parent: b5353c84558531fb64446e1937615799d1c61363
parent: 00efbc2cb589df40eddd71463cabbc3517040fe4
author: Licai Guo <[email protected]>
date: Tue Mar 18 05:39:19 EDT 2014

Merge pull request #523 from mstorsjo/wp8-arm-asm

Enable the arm assembly in msvc-arm builds

--- a/README.md
+++ b/README.md
@@ -51,6 +51,8 @@
 --------------------
 NASM needed to be installed for assembly code: workable version 2.07 or above, nasm can downloaded from http://www.nasm.us/
 
+To build the arm assembly for Windows Phone, gas-preprocessor is required. It can be downloaded from git://git.libav.org/gas-preprocessor.git
+
 For Android Builds
 ------------------
 To build for android platform, You need to install android sdk and ndk. You also need to export **ANDROID_SDK**/tools to PATH. On Linux, this can be done by
--- a/build/platform-msvc-arm.mk
+++ b/build/platform-msvc-arm.mk
@@ -1,5 +1,7 @@
 include build/platform-msvc-common.mk
+ARCH=arm
+include build/platform-arch.mk
 CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -MD -DWIN32
 LDFLAGS +=
-USE_ASM = No
+CCAS = gas-preprocessor.pl -as-type armasm -force-thumb -- armasm