From e7dd1adfbf521cf74441b3e03463e0eec6ea5cb6 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 9 Mar 2008 21:06:31 +0000 Subject: [PATCH] Fixed problem with uncaught boost::filesystem exceptions. The g++ optimizer did something evil... --- pokerth_game.pro | 5 +++++ pokerth_server.pro | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pokerth_game.pro b/pokerth_game.pro index 06f51b01..54030d14 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -291,6 +291,11 @@ win32{ DEPENDPATH += src/net/linux/ src/core/linux } +unix{ + # workaround for problems with boost_filesystem exceptions + QMAKE_LFLAGS += -no_dead_strip_inits_and_terms +} + unix: !mac{ LIBPATH += lib diff --git a/pokerth_server.pro b/pokerth_server.pro index 9771f771..d59a3de0 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -144,6 +144,11 @@ win32 { SOURCES += src/core/linux/convhelper.cpp } +unix { + # workaround for problems with boost_filesystem exceptions + QMAKE_LFLAGS += -no_dead_strip_inits_and_terms +} + unix : !mac { LIBPATH += lib