aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorywan171 <yi.a.wang@intel.com>2014-09-16 11:50:10 +0800
committerPatrick Tjin <pattjin@google.com>2014-09-18 20:57:16 -0700
commit38fc535af30abec57ff1ec03f26fd1a0c503a9b3 (patch)
tree5a40dd232a660dd4f4868c3b590eab0a45a1843a
parentc2a698e6f8c510e0660eedf5ca1efcdeed2dcebc (diff)
downloadandroid_hardware_intel_common_omx-components-38fc535af30abec57ff1ec03f26fd1a0c503a9b3.tar.gz
android_hardware_intel_common_omx-components-38fc535af30abec57ff1ec03f26fd1a0c503a9b3.tar.bz2
android_hardware_intel_common_omx-components-38fc535af30abec57ff1ec03f26fd1a0c503a9b3.zip
remove linker warning of libOMXVideoDecoderVP9HWR.so caused by text relocations
Bug: 17473687 BZ: 223235 Change-Id: I375fe44c132e2030310ba658d6c9694c83005569 Signed-off-by: ywan171 <yi.a.wang@intel.com>
-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