From afd69725fc03eb175874564f9b127e11d8d2f741 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 2 Jan 2014 16:25:23 -0800 Subject: [PATCH] Build with -dead_strip on OS X Bumps 3.5 MB off the binary and doesn't seem to break anything. --- aegisub/Makefile.target | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aegisub/Makefile.target b/aegisub/Makefile.target index 6c7fad085..42d4fe6ea 100644 --- a/aegisub/Makefile.target +++ b/aegisub/Makefile.target @@ -19,9 +19,9 @@ DEP = $(addsuffix .d, $(basename $(SRC))) ################### ifeq (yes, $(BUILD_DARWIN)) -CFLAGS += -mmacosx-version-min=10.7 -CXXFLAGS += -mmacosx-version-min=10.7 -LDFLAGS += -mmacosx-version-min=10.7 +CFLAGS += -mmacosx-version-min=10.7 -gfull +CXXFLAGS += -mmacosx-version-min=10.7 -gfull +LDFLAGS += -mmacosx-version-min=10.7 -Wl,-dead_strip LIB_SHARED_LINK = $(LIB_SHARED_LINK_OSX) endif