forked from mia/Aegisub
Build with -dead_strip on OS X
Bumps 3.5 MB off the binary and doesn't seem to break anything.
This commit is contained in:
parent
fc63df571b
commit
afd69725fc
1 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@ DEP = $(addsuffix .d, $(basename $(SRC)))
|
||||||
###################
|
###################
|
||||||
|
|
||||||
ifeq (yes, $(BUILD_DARWIN))
|
ifeq (yes, $(BUILD_DARWIN))
|
||||||
CFLAGS += -mmacosx-version-min=10.7
|
CFLAGS += -mmacosx-version-min=10.7 -gfull
|
||||||
CXXFLAGS += -mmacosx-version-min=10.7
|
CXXFLAGS += -mmacosx-version-min=10.7 -gfull
|
||||||
LDFLAGS += -mmacosx-version-min=10.7
|
LDFLAGS += -mmacosx-version-min=10.7 -Wl,-dead_strip
|
||||||
LIB_SHARED_LINK = $(LIB_SHARED_LINK_OSX)
|
LIB_SHARED_LINK = $(LIB_SHARED_LINK_OSX)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue