summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config/nim.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index 47bc78ba5..1601ebe08 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -181,7 +181,9 @@ nimblepath="$home/.nimble/pkgs/"
 
 gcc.maxerrorsimpl = "-fmax-errors=3"
 
-@if bsd:
+@if freebsd:
+  tlsEmulation:off
+@elif bsd:
   # at least NetBSD has problems with thread local storage:
   tlsEmulation:on
 @end