summaryrefslogtreecommitdiff
path: root/system_wrappers/source/cpu_features_android.target.linux-arm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'system_wrappers/source/cpu_features_android.target.linux-arm.mk')
-rw-r--r--system_wrappers/source/cpu_features_android.target.linux-arm.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/system_wrappers/source/cpu_features_android.target.linux-arm.mk b/system_wrappers/source/cpu_features_android.target.linux-arm.mk
index 79fbf62c..cc26fe5e 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-arm.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-arm.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -287,6 +288,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \