shithub: openh264

Download patch

ref: 6b95de56666d5f48535ff8eb6b22ff1dccbdb98f
parent: e1a27c9ac1f2f44056c65f5ebc590a2cc8385d5d
author: Guangwei Wang <guangwwa@cisco.com>
date: Thu Jan 19 10:41:23 EST 2017

add enable PIC option on Makefile

--- a/build/x86-common.mk
+++ b/build/x86-common.mk
@@ -16,6 +16,11 @@
 CFLAGS += $(CFLAGS_M32)
 LDFLAGS += $(CFLAGS_M32)
 ASMFLAGS_PLATFORM = -DX86_32
+ifeq ($(ENABLEPIC), Yes)
+CFLAGS += -DX86_32_PICASM
+CXXFLAGS += -DX86_32_PICASM
+ASMFLAGS += -DX86_32_PICASM
+endif
 endif
 ifeq ($(USE_ASM),Yes)
 CFLAGS += -DX86_ASM