summaryrefslogtreecommitdiff
path: root/webrtc_common.target.linux-x86.mk
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc_common.target.linux-x86.mk')
-rw-r--r--webrtc_common.target.linux-x86.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/webrtc_common.target.linux-x86.mk b/webrtc_common.target.linux-x86.mk
index 2e332012..4a28e9d6 100644
--- a/webrtc_common.target.linux-x86.mk
+++ b/webrtc_common.target.linux-x86.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -267,6 +268,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \