aboutsummaryrefslogtreecommitdiff
path: root/ots.target.darwin-mips.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ots.target.darwin-mips.mk')
-rw-r--r--ots.target.darwin-mips.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ots.target.darwin-mips.mk b/ots.target.darwin-mips.mk
index 4c7e30d..3e8fd53 100644
--- a/ots.target.darwin-mips.mk
+++ b/ots.target.darwin-mips.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -273,6 +274,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \