Skip to content

Commit

Permalink
use tlsEmulation:off for freebsd (#20802)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Nov 10, 2022
1 parent 82e99f2 commit dac5a56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/nim.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dac5a56

Please sign in to comment.