From 15bfc853058c0917a2c40ab8116f6d7bdc4570c6 Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Wed, 19 Oct 2016 15:44:03 +0300 Subject: [PATCH] windows-build: increased stack for x86 build as libwallet allocates 2Mb of stack internally --- monero-core.pro | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/monero-core.pro b/monero-core.pro index f433fd41..d50f704c 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -73,6 +73,17 @@ win32 { -lwsock32 \ -lIphlpapi \ -lgdi32 + + + !contains(QMAKE_TARGET.arch, x86_64) { + message("x86 build") + ## Windows x86 (32bit) specific build here + QMAKE_LFLAGS += -Wl,--stack,4194304 + } else { + message("x64 build") + } + + } linux {