From ea17bebe39d7f201b3ce57bcca112fae48d43e06 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 21 Jan 2022 22:17:33 -0500 Subject: [PATCH] Reduce stack size of standalone adapter to 1MiB on Windows. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4a62d4f3..988b4d1c 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,8 @@ ifdef ARCH_WIN STANDALONE_TARGET := Rack.exe STANDALONE_LDFLAGS += -mwindows + # 1MiB stack size to match MSVC + STANDALONE_LDFLAGS += -Wl,--stack,0x100000 STANDALONE_OBJECTS += build/Rack.res endif