make clean pokerthlib, -no_dead_strip_inits_and_terms only on macosx

This commit is contained in:
doitux
2011-05-08 22:20:26 +00:00
parent 7715063fe6
commit 796493f582
6 changed files with 12 additions and 12 deletions
+3 -2
View File
@@ -368,8 +368,6 @@ win32 {
-lwldap32
RC_FILE = pokerth.rc
}
unix:# workaround for problems with boost_filesystem exceptions
QMAKE_LFLAGS += -no_dead_strip_inits_and_terms
unix:!mac {
# #### My release static build options
# QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
@@ -479,6 +477,9 @@ mac {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
QMAKE_CXXFLAGS -= -std=gnu++0x
# workaround for problems with boost_filesystem exceptions
QMAKE_LFLAGS += -no_dead_strip_inits_and_terms
# for universal-compilation on PPC-Mac uncomment the following line
# on Intel-Mac you have to comment this line out or build will fail.
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/