summaryrefslogtreecommitdiff
path: root/openssl.target.darwin-x86.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openssl.target.darwin-x86.mk')
-rw-r--r--openssl.target.darwin-x86.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/openssl.target.darwin-x86.mk b/openssl.target.darwin-x86.mk
index 9d03bc3..9cf8e9b 100644
--- a/openssl.target.darwin-x86.mk
+++ b/openssl.target.darwin-x86.mk
@@ -806,6 +806,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-undefined \
-Wl,--exclude-libs=ALL \
-Wl,--gc-sections \
+ -Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -822,7 +823,8 @@ LOCAL_LDFLAGS_Release := \
-Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
- -Wl,--gc-sections
+ -Wl,--gc-sections \
+ -Wl,--warn-shared-textrel
LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))