shithub: openh264

Download patch

ref: d61b128b469ae7c9efb321b9ba051fe60536cb48
parent: 0ff484ccaba64b0236c89c806397eecb1a97aade
author: Sheng-Hao Tsao <[email protected]>
date: Mon Dec 18 10:27:35 EST 2017

Fix Clang compiler error

Only remove .func and .endFunc for Clang compiler.

--- a/codec/common/arm/arm_arch_common_macro.S
+++ b/codec/common/arm/arm_arch_common_macro.S
@@ -60,11 +60,17 @@
 .arm
 .global \funcName
 .type \funcName, %function
+#ifndef __clang__
+.func \funcName
+#endif
 \funcName:
 .endm
 
 .macro WELS_ASM_FUNC_END
 mov pc, lr
+#ifndef __clang__
+.endfunc
+#endif
 .endm
 #endif