summaryrefslogtreecommitdiff
path: root/modules/audio_device.target.darwin-arm64.mk
diff options
context:
space:
mode:
Diffstat (limited to 'modules/audio_device.target.darwin-arm64.mk')
-rw-r--r--modules/audio_device.target.darwin-arm64.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/audio_device.target.darwin-arm64.mk b/modules/audio_device.target.darwin-arm64.mk
index fa57973a..2927324e 100644
--- a/modules/audio_device.target.darwin-arm64.mk
+++ b/modules/audio_device.target.darwin-arm64.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \