shithub: openh264

Download patch

ref: 7629543e3e110d1dd013996c5c15dbe474d65718
parent: 79b38f55fffaa80ae95752a27fc110681f704e43
parent: 5a78735802847490adc4ba4c84ac1fa6519d8b70
author: zhilwang <zhilwang@cisco.com>
date: Sun Feb 1 12:36:36 EST 2015

Merge pull request #1784 from mstorsjo/force-arm-mode

Force armv7/neon within the arm assembly header file

--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -12,9 +12,6 @@
     LDFLAGS += -march=armv7-a -Wl,--fix-cortex-a8
     APP_ABI = armeabi-v7a
   endif
-  ifeq (Yes, $(USE_ASM))
-    ASMFLAGS += -march=armv7-a -mfpu=neon
-  endif
 else ifeq ($(ARCH), arm64)
   APP_ABI = arm64-v8a
 else ifeq ($(ARCH), x86)
--- a/codec/common/arm/arm_arch_common_macro.S
+++ b/codec/common/arm/arm_arch_common_macro.S
@@ -50,6 +50,8 @@
 
 .section .note.GNU-stack,"",%progbits // Mark stack as non-executable
 .text
+.arch armv7-a
+.fpu neon
 
 .macro WELS_ASM_FUNC_BEGIN funcName
 .align 2