From dac5a56d70c25383a378494b38b85d3bbda42558 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Thu, 10 Nov 2022 12:48:30 +0800 Subject: [PATCH] use `tlsEmulation:off` for freebsd (#20802) --- config/nim.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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