summaryrefslogtreecommitdiff
path: root/openssl.target.linux-arm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openssl.target.linux-arm.mk')
-rw-r--r--openssl.target.linux-arm.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/openssl.target.linux-arm.mk b/openssl.target.linux-arm.mk
index 34f31dc..1bc896c 100644
--- a/openssl.target.linux-arm.mk
+++ b/openssl.target.linux-arm.mk
@@ -789,6 +789,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--gc-sections \
+ -Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -807,7 +808,8 @@ LOCAL_LDFLAGS_Release := \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
- -Wl,--gc-sections
+ -Wl,--gc-sections \
+ -Wl,--warn-shared-textrel
LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))