summaryrefslogtreecommitdiff
path: root/modules/CNG.target.linux-arm64.mk
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CNG.target.linux-arm64.mk')
-rw-r--r--modules/CNG.target.linux-arm64.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/CNG.target.linux-arm64.mk b/modules/CNG.target.linux-arm64.mk
index cacd5d46..44e709f6 100644
--- a/modules/CNG.target.linux-arm64.mk
+++ b/modules/CNG.target.linux-arm64.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -271,6 +272,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \