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