32-bit Windows: use PAE to access more than 2 GiB of RAM

This commit is contained in:
Ștefan Talpalaru 2019-11-12 15:34:12 +01:00
parent 52035c676d
commit 6b22485197
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@
--passL:"-Wl,--stack,8388608"
# https://github.com/nim-lang/Nim/issues/4057
--tlsEmulation:off
@if i386:
# set the IMAGE_FILE_LARGE_ADDRESS_AWARE flag so we can use PAE, if enabled, and access more than 2 GiB of RAM
--passL:"-Wl,--large-address-aware"
@end
# The dynamic Chronicles output currently prevents us from using colors on Windows
# because these require direct manipulations of the stdout File object.