summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-26 21:39:43 +0200
committerTor Lillqvist <tml@iki.fi>2012-11-26 21:40:29 +0200
commit9d83ad0e99ab182506be99f7d6a2bec7f6fbe8c6 (patch)
tree78884a488fb79801de16d3b0b62ecb34b97f5335 /ios
parent497a7ac1dfed80339e50c4f964fa2bb0b68d1aa1 (diff)
Use -dead_strip ld flag
Change-Id: I39bb14e47654afd5425098fb4aad80a29f058d67
Diffstat (limited to 'ios')
-rw-r--r--ios/experimental/DocumentLoader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/experimental/DocumentLoader/Makefile b/ios/experimental/DocumentLoader/Makefile
index 9de1c5b7c3b1..59b7332d7923 100644
--- a/ios/experimental/DocumentLoader/Makefile
+++ b/ios/experimental/DocumentLoader/Makefile
@@ -74,7 +74,7 @@ all: $(APPDIR)/$(APP) stuff
$(APPDIR)/$(APP): $(SRCS)
mkdir -p $(APPDIR)
- $(CXX) -v -miphoneos-version-min=4.3 -fobjc-link-runtime -Wl,-map,$(APP).map.mangled -o $@ $(gb_GLOBALDEFS) $(CFLAGS) $(gb_OBJCXXFLAGS) $(MOREINCLUDES) $(SRCS) $(LIBS)
+ $(CXX) -v -miphoneos-version-min=4.3 -fobjc-link-runtime -Wl,-map,$(APP).map.mangled -Wl,-dead_strip -o $@ $(gb_GLOBALDEFS) $(CFLAGS) $(gb_OBJCXXFLAGS) $(MOREINCLUDES) $(SRCS) $(LIBS)
c++filt <$(APP).map.mangled >$(APP).map && rm $(APP).map.mangled
stuff: