summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-01-24 15:48:14 +0200
committerTor Lillqvist <tml@collabora.com>2014-01-24 17:55:22 +0200
commitf3f77f5562b24591e25750eacd5baf676a84c243 (patch)
tree35ae1b99beaa423712abc976c94848e1db37a41c /ios
parente24605a72f19116fd115ca1f7fa84298b0037c70 (diff)
Produce a ld map file, too
Change-Id: Ieded05eb402e3d87ad039cd06b86e99114ff5afe
Diffstat (limited to 'ios')
-rw-r--r--ios/CustomTarget_Lo_Xcconfig.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/CustomTarget_Lo_Xcconfig.mk b/ios/CustomTarget_Lo_Xcconfig.mk
index 31a697342edd..d8e3712ae83d 100644
--- a/ios/CustomTarget_Lo_Xcconfig.mk
+++ b/ios/CustomTarget_Lo_Xcconfig.mk
@@ -21,7 +21,7 @@ $(LO_XCCONFIG) :
#
all_libs=`$(SRCDIR)/bin/lo-all-static-libs`; \
\
- sed -e "s,^\(LINK_LDFLAGS =\).*$$,\1 $$all_libs," \
+ sed -e "s;^\(LINK_LDFLAGS =\).*$$;\1 -Wl,-map,$(WORKDIR)/\$$(TARGET_NAME).map $$all_libs;" \
-e "s,^\(OTHER_CFLAGS =\).*$$,\1 $(gb_GLOBALDEFS)," \
-e "s,^\(OTHER_CPLUSPLUSFLAGS =\).*$$,\1 $(gb_GLOBALDEFS)," \
< $(LO_XCCONFIG) > $(LO_XCCONFIG).new && mv $(LO_XCCONFIG).new $(LO_XCCONFIG)