diff options
author | Dan Albert <danalbert@google.com> | 2014-08-06 21:38:14 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-08-07 15:42:27 -0700 |
commit | 3b909164de79904137bb6661514d5ca6236a49c9 (patch) | |
tree | 206ee7a090ec5d3e0c5e7e97171b264730091812 /media/libstagefright/codecs/amrwbenc | |
parent | a018cd4926460f8f5ab30a9a11df9775572d8620 (diff) | |
download | frameworks_av-3b909164de79904137bb6661514d5ca6236a49c9.zip frameworks_av-3b909164de79904137bb6661514d5ca6236a49c9.tar.gz frameworks_av-3b909164de79904137bb6661514d5ca6236a49c9.tar.bz2 |
Fix build after side-stepping global -Bsymbolic.
Some of the assembly in the codecs is generating invalid relocations
without -Bsymbolic. Leave it on for these projects for the time being.
Bug: 16853291
Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c
Diffstat (limited to 'media/libstagefright/codecs/amrwbenc')
-rw-r--r-- | media/libstagefright/codecs/amrwbenc/Android.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/amrwbenc/Android.mk b/media/libstagefright/codecs/amrwbenc/Android.mk index c5b8e0c..a39c55b 100644 --- a/media/libstagefright/codecs/amrwbenc/Android.mk +++ b/media/libstagefright/codecs/amrwbenc/Android.mk @@ -94,6 +94,11 @@ LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := +# 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 + LOCAL_C_INCLUDES := \ frameworks/av/include \ frameworks/av/media/libstagefright/include \ @@ -133,6 +138,11 @@ LOCAL_SHARED_LIBRARIES := \ libstagefright_omx libstagefright_foundation libutils liblog \ libstagefright_enc_common +# 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 + LOCAL_MODULE := libstagefright_soft_amrwbenc LOCAL_MODULE_TAGS := optional |