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.mk4
1 files changed, 2 insertions, 2 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 b74d1108..7bf6f08d 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-arm.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-arm.mk
@@ -233,6 +233,7 @@ LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
### Rules for final target.
LOCAL_LDFLAGS_Debug := \
+ -Wl,--fatal-warnings \
-Wl,-z,now \
-Wl,-z,relro \
-Wl,-z,noexecstack \
@@ -244,7 +245,6 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-undefined \
-Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
- -Wl,--fatal-warnings \
-Wl,--gc-sections \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
LOCAL_LDFLAGS_Release := \
+ -Wl,--fatal-warnings \
-Wl,-z,now \
-Wl,-z,relro \
-Wl,-z,noexecstack \
@@ -266,7 +267,6 @@ LOCAL_LDFLAGS_Release := \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
- -Wl,--fatal-warnings \
-Wl,--warn-shared-textrel