summaryrefslogtreecommitdiff
path: root/ft2.target.darwin-x86.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ft2.target.darwin-x86.mk')
-rw-r--r--ft2.target.darwin-x86.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/ft2.target.darwin-x86.mk b/ft2.target.darwin-x86.mk
index c5cea49..396c0d1 100644
--- a/ft2.target.darwin-x86.mk
+++ b/ft2.target.darwin-x86.mk
@@ -230,6 +230,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-undefined \
-Wl,--exclude-libs=ALL \
-Wl,--gc-sections \
+ -Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -246,7 +247,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))