summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-06-15 14:01:34 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-06-15 14:01:34 (GMT)
commitd746f77c115862ef7443d75eeed2f7b568e38208 (patch)
treec53e33bea630fa273387fc3e18fa9d4f112cd6b1
parentb024a1d6c145cd7f24ef338065a7aafa20620361 (diff)
set stacksize on win to be same as on linux to make bugs more consistent.
see issue #116
-rw-r--r--mingw-cross-env.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/mingw-cross-env.pri b/mingw-cross-env.pri
index e696b56..6bcce61 100644
--- a/mingw-cross-env.pri
+++ b/mingw-cross-env.pri
@@ -13,6 +13,9 @@ CONFIG(mingw-cross-env) {
LIBS += mingw-cross-env/lib/libgmp.a
LIBS += mingw-cross-env/lib/libCGAL.a
QMAKE_CXXFLAGS += -fpermissive
+ WINSTACKSIZE = 8388608 # 8MB # github issue 116
+ QMAKE_CXXFLAGS += -Wl,--stack,$$WINSTACKSIZE # github issue 116
+ LIBS += -Wl,--stack,$$WINSTACKSIZE
QMAKE_DEL_FILE = rm -f
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-local-typedefs #eigen3
}
contact: Jan Huwald // Impressum