--- config/nim.cfg.orig 2021-10-20 15:37:06 UTC +++ config/nim.cfg @@ -107,10 +107,7 @@ nimblepath="$home/.nimble/pkgs/" @end @if unix: - @if bsd: - # BSD got posix_spawn only recently, so we deactivate it for osproc: - define:useFork - @elif haiku: + @if haiku: gcc.options.linker = "-Wl,--as-needed -lnetwork" gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork" clang.options.linker = "-Wl,--as-needed -lnetwork" @@ -160,11 +157,6 @@ nimblepath="$home/.nimble/pkgs/" @end gcc.maxerrorsimpl = "-fmax-errors=3" - -@if bsd: - # at least NetBSD has problems with thread local storage: - tlsEmulation:on -@end @if macosx or freebsd or openbsd: cc = clang