From 3b909164de79904137bb6661514d5ca6236a49c9 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 6 Aug 2014 21:38:14 -0700 Subject: 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 --- media/libstagefright/codecs/on2/h264dec/Android.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'media/libstagefright/codecs/on2') diff --git a/media/libstagefright/codecs/on2/h264dec/Android.mk b/media/libstagefright/codecs/on2/h264dec/Android.mk index bf03ad9..7291c22 100644 --- a/media/libstagefright/codecs/on2/h264dec/Android.mk +++ b/media/libstagefright/codecs/on2/h264dec/Android.mk @@ -100,6 +100,11 @@ endif LOCAL_SHARED_LIBRARIES := \ libstagefright libstagefright_omx libstagefright_foundation libutils 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 + LOCAL_MODULE := libstagefright_soft_h264dec LOCAL_MODULE_TAGS := optional -- cgit v1.1