summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-10 12:48:30 +0800
committerGitHub <noreply@github.com>2022-11-10 05:48:30 +0100
commitdac5a56d70c25383a378494b38b85d3bbda42558 (patch)
tree6690a82b2f52c867c1aef68cc2f92830f25f9a9f /config
parent82e99f2332b97ec3c86eea319bc44fc6c8ab35b3 (diff)
downloadNim-dac5a56d70c25383a378494b38b85d3bbda42558.tar.gz
use `tlsEmulation:off` for freebsd (#20802)
Diffstat (limited to 'config')
-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