summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-08-07 22:21:08 -0700
committerDan Albert <danalbert@google.com>2014-08-08 08:30:46 -0700
commite43f501f3d4fda8578da519fc50d9156d8828e3a (patch)
tree2bba72686bb75ae56034f0f2d7deb5d761c4ec28
parente17bb5cafdbc6089716d8e8c5afbb00f207a59bb (diff)
downloadframeworks_av-e43f501f3d4fda8578da519fc50d9156d8828e3a.zip
frameworks_av-e43f501f3d4fda8578da519fc50d9156d8828e3a.tar.gz
frameworks_av-e43f501f3d4fda8578da519fc50d9156d8828e3a.tar.bz2
Fix the build after -Bsymbolic fix.
Bug: 16853291 Change-Id: Idc9808f76e8be7afb70513c4036b57c91690728e (cherry picked from commit 8173554d5b5e25215e9c591a0dbb92b8c0ff082e)
-rw-r--r--media/libstagefright/codecs/hevcdec/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/hevcdec/Android.mk b/media/libstagefright/codecs/hevcdec/Android.mk
index 960602f..c0c694e 100644
--- a/media/libstagefright/codecs/hevcdec/Android.mk
+++ b/media/libstagefright/codecs/hevcdec/Android.mk
@@ -20,6 +20,10 @@ LOCAL_SHARED_LIBRARIES += libstagefright_foundation
LOCAL_SHARED_LIBRARIES += libutils
LOCAL_SHARED_LIBRARIES += liblog
+# We need this because the current asm generates the following link error:
+# requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
+# Bug: 16853291
+LOCAL_LDFLAGS := -Wl,-Bsymbolic
include $(BUILD_SHARED_LIBRARY)