--- config/nim.cfg.orig 2020-10-25 07:25:40 UTC +++ config/nim.cfg @@ -10,6 +10,8 @@ cc = clang +nimcache="%%NIMCACHE%%" + # additional options always passed to the compiler: --parallel_build: "0" # 0 to auto-detect number of processors @@ -118,12 +120,6 @@ path="$lib/pure" clang.options.linker = "-ldl" clang.cpp.options.linker = "-ldl" tcc.options.linker = "-ldl" - @end - @if bsd: - # BSD got posix_spawn only recently, so we deactivate it for osproc: - define:useFork - # at least NetBSD has problems with thread local storage: - tlsEmulation:on @end @if haiku: gcc.options.linker = "-Wl,--as-needed -lnetwork"