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