summaryrefslogtreecommitdiff
path: root/system_wrappers/source/system_wrappers.target.linux-arm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'system_wrappers/source/system_wrappers.target.linux-arm.mk')
-rw-r--r--system_wrappers/source/system_wrappers.target.linux-arm.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/system_wrappers/source/system_wrappers.target.linux-arm.mk b/system_wrappers/source/system_wrappers.target.linux-arm.mk
index bce5845d..c2058606 100644
--- a/system_wrappers/source/system_wrappers.target.linux-arm.mk
+++ b/system_wrappers/source/system_wrappers.target.linux-arm.mk
@@ -319,6 +319,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \