summaryrefslogtreecommitdiff
path: root/system_wrappers/source/cpu_features_android.target.linux-arm64.mk
diff options
context:
space:
mode:
Diffstat (limited to 'system_wrappers/source/cpu_features_android.target.linux-arm64.mk')
-rw-r--r--system_wrappers/source/cpu_features_android.target.linux-arm64.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/system_wrappers/source/cpu_features_android.target.linux-arm64.mk b/system_wrappers/source/cpu_features_android.target.linux-arm64.mk
index 275b69c9..c9e95b7e 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-arm64.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-arm64.mk
@@ -239,6 +239,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -252,6 +253,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \