summaryrefslogtreecommitdiff
path: root/common_audio/common_audio.target.linux-x86_64.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common_audio/common_audio.target.linux-x86_64.mk')
-rw-r--r--common_audio/common_audio.target.linux-x86_64.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/common_audio/common_audio.target.linux-x86_64.mk b/common_audio/common_audio.target.linux-x86_64.mk
index f19c5a3c..96c6ab5f 100644
--- a/common_audio/common_audio.target.linux-x86_64.mk
+++ b/common_audio/common_audio.target.linux-x86_64.mk
@@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -315,6 +316,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \