aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--videocodec/Android.mk1
-rw-r--r--videocodec/libvpx_internal/x86/vpx_config.asm2
-rw-r--r--videocodec/libvpx_internal/x86/vpx_config.h2
3 files changed, 2 insertions, 3 deletions
diff --git a/videocodec/Android.mk b/videocodec/Android.mk
index f53ac1d..ff838bf 100644
--- a/videocodec/Android.mk
+++ b/videocodec/Android.mk
@@ -183,7 +183,6 @@ endif
ifeq ($(TARGET_BOARD_PLATFORM),baytrail)
LOCAL_CFLAGS += -DUSE_GEN_HW
endif
-LOCAL_LDFLAGS := -Wl,--no-warn-shared-textrel
include $(BUILD_SHARED_LIBRARY)
# end VP9 SW decode and HW Render
diff --git a/videocodec/libvpx_internal/x86/vpx_config.asm b/videocodec/libvpx_internal/x86/vpx_config.asm
index 8225878..cfa7b9c 100644
--- a/videocodec/libvpx_internal/x86/vpx_config.asm
+++ b/videocodec/libvpx_internal/x86/vpx_config.asm
@@ -36,7 +36,7 @@ CONFIG_GCOV equ 0
CONFIG_RVCT equ 0
CONFIG_GCC equ 1
CONFIG_MSVS equ 0
-CONFIG_PIC equ 0
+CONFIG_PIC equ 1
CONFIG_BIG_ENDIAN equ 0
CONFIG_CODEC_SRCS equ 0
CONFIG_DEBUG_LIBS equ 0
diff --git a/videocodec/libvpx_internal/x86/vpx_config.h b/videocodec/libvpx_internal/x86/vpx_config.h
index 8160355..8073181 100644
--- a/videocodec/libvpx_internal/x86/vpx_config.h
+++ b/videocodec/libvpx_internal/x86/vpx_config.h
@@ -48,7 +48,7 @@
#define CONFIG_RVCT 0
#define CONFIG_GCC 1
#define CONFIG_MSVS 0
-#define CONFIG_PIC 0
+#define CONFIG_PIC 1
#define CONFIG_BIG_ENDIAN 0
#define CONFIG_CODEC_SRCS 0
#define CONFIG_DEBUG_LIBS 0