shithub: openh264

Download patch

ref: c4809f8559e3664e77c62a3e01b58c89c73f72bb
parent: b5f87777fd56136fdccd397daa394c3834a75e89
author: Guangwei <[email protected]>
date: Fri Apr 27 10:03:39 EDT 2018

Linux-arm64 build enhancement

--- a/build/platform-linux.mk
+++ b/build/platform-linux.mk
@@ -18,6 +18,11 @@
 ASMFLAGS += -march=armv7-a -mfpu=neon
 endif
 
+ifeq ($(ASM_ARCH), arm64)
+CFLAGS += -march=armv8-a
+ASMFLAGS += -march=armv8-a
+endif
+
 ifeq ($(CXX), clang++)
 CXXFLAGS += -Wc++11-compat-reserved-user-defined-literal
 endif