--- config/nim.cfg.orig 2020-04-03 17:22:53 UTC +++ config/nim.cfg @@ -8,7 +8,7 @@ # Environment variables can be accessed like so: # gcc.path %= "$CC_PATH" -cc = gcc +cc = clang # additional options always passed to the compiler: --parallel_build: "0" # 0 to auto-detect number of processors @@ -118,12 +118,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"