From e25a5c55463d466b92bf49b1e5ca10e814f1d76d Mon Sep 17 00:00:00 2001 From: xflywind <43030857+ringabout@users.noreply.github.com> Date: Fri, 9 Sep 2022 20:53:29 +0800 Subject: [PATCH] Revert "Remove tlsEmulation enabled from Windows + GCC config (#19119) [backport:1.6]" This reverts commit 77b696c2c92b5f478526290c5e184a4c41060f7b. --- config/nim.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/nim.cfg b/config/nim.cfg index fd2642391b64..55b7a41c15c4 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"