summary refs log tree commit diff stats
path: root/config/nim.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/nim.cfg')
-rw-r--r--config/nim.cfg3
1 files changed, 3 insertions, 0 deletions
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"