Produce a ld map file, too

Change-Id: Ieded05eb402e3d87ad039cd06b86e99114ff5afe
This commit is contained in:
Tor Lillqvist 2014-01-24 15:48:14 +02:00
parent e24605a72f
commit f3f77f5562

View file

@ -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)