From 97259a5ab37892bedca64b14ffc6e0b7d25dd789 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Mon, 19 Sep 2022 15:16:54 +0800 Subject: fixes #19713; Revert "Remove tlsEmulation enabled from Windows + GCC config" (#19119) (#20327) * Revert "Remove tlsEmulation enabled from Windows + GCC config (#19119) [backport:1.6]" This reverts commit 77b696c2c92b5f478526290c5e184a4c41060f7b. * increase nimTlsSize to 48000 * enable for windows * fixes tests * fixes tlsEmulation:on --- config/nim.cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/nim.cfg') diff --git a/config/nim.cfg b/config/nim.cfg index fd2642391..55b7a41c1 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -169,6 +169,9 @@ nimblepath="$home/.nimble/pkgs/" # Configuration for the GNU C/C++ compiler: @if windows: #gcc.path = r"$nim\dist\mingw\bin" + @if gcc or tcc: + tlsEmulation:on + @end @end gcc.maxerrorsimpl = "-fmax-errors=3" -- cgit 1.4.1-2-gfad0