aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-20 23:30:33 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-20 23:30:33 +0000
commite975c1fa3f6e4a08fa0bfc4c2449844604b981f4 (patch)
treee2493d070055f1448323b2fea0d7e4b364ca76aa
parent4955bfb4caeb9b0b03b85a1e886674ddbccdb44f (diff)
parente98c9fc8fa25d4d5a270276148696a2686ed000b (diff)
downloadtremolo-e975c1fa3f6e4a08fa0bfc4c2449844604b981f4.tar.gz
am e98c9fc8: am f7da2fd4: Merge "Fix build after side-stepping global -Bsymbolic."
* commit 'e98c9fc8fa25d4d5a270276148696a2686ed000b': Fix build after side-stepping global -Bsymbolic.
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 9e3a0a0..3c9b86b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -30,6 +30,11 @@ LOCAL_CFLAGS += \
endif
LOCAL_CFLAGS+= -O2
+# 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:= \
$(LOCAL_PATH)/Tremolo