build/make/Android.mk: use -fPIC w/ENABLE_SHARED=1
fixes reloc errors like: R_X86_64_PC32 vpx_dsp/x86/deblock_sse2.o: requires dynamic R_X86_64_PC32 reloc against 'vpx_rv' which may overflow at runtime Change-Id: I218fc0e7c8258197f890d395f335e5a4fe82dccb
This commit is contained in:
parent
cbeae53e76
commit
7317ce8bd4
@ -202,6 +202,7 @@ clean:
|
||||
@$(RM) $(CLEAN-OBJS)
|
||||
|
||||
ifeq ($(ENABLE_SHARED),1)
|
||||
LOCAL_CFLAGS += -fPIC
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
else
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user