diff --git a/config/nim.cfg b/config/nim.cfg index 47bc78ba50..1601ebe08f 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