mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Commit more stack size in some windows binaries
This way we can commit the same amount of stack size (64 MB) without a conditional. Includes nix, libnixexpr-tests, libnixfetchers-tests, libnixstore-tests, libnixutil-tests.
This commit is contained in:
parent
5f68e6d69f
commit
0b7da099d1
6 changed files with 25 additions and 5 deletions
|
@ -31,3 +31,8 @@ libstore-tests_LIBS = \
|
|||
libstore libstorec libutil libutilc
|
||||
|
||||
libstore-tests_LDFLAGS := -lrapidcheck $(GTEST_LIBS)
|
||||
|
||||
ifdef HOST_WINDOWS
|
||||
# Increase the default reserved stack size to 65 MB so Nix doesn't run out of space
|
||||
libstore-tests_LDFLAGS += -Wl,--stack,$(shell echo $$((65 * 1024 * 1024)))
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue