aboutsummaryrefslogtreecommitdiff
path: root/ots.target.linux-arm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ots.target.linux-arm.mk')
-rw-r--r--ots.target.linux-arm.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ots.target.linux-arm.mk b/ots.target.linux-arm.mk
index ead8ee6..786eea3 100644
--- a/ots.target.linux-arm.mk
+++ b/ots.target.linux-arm.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \