summaryrefslogtreecommitdiff
path: root/modules/PCM16B.target.darwin-x86.mk
diff options
context:
space:
mode:
Diffstat (limited to 'modules/PCM16B.target.darwin-x86.mk')
-rw-r--r--modules/PCM16B.target.darwin-x86.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/PCM16B.target.darwin-x86.mk b/modules/PCM16B.target.darwin-x86.mk
index 1f388f09..a3d33b22 100644
--- a/modules/PCM16B.target.darwin-x86.mk
+++ b/modules/PCM16B.target.darwin-x86.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \