Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b909164 authored by Dan Albert's avatar Dan Albert
Browse files

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
parent a018cd49
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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

+10 −0
Original line number Diff line number Diff line
@@ -50,6 +50,11 @@ LOCAL_C_INCLUDES := \
LOCAL_CFLAGS := \
        -DOSCL_UNUSED_ARG=

# 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_mp3dec

LOCAL_ARM_MODE := arm
@@ -75,6 +80,11 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_STATIC_LIBRARIES := \
        libstagefright_mp3dec

# 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_mp3dec
LOCAL_MODULE_TAGS := optional

+5 −0
Original line number Diff line number Diff line
@@ -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