$OpenBSD: patch-config_nim_cfg,v 1.4 2020/05/02 09:33:06 denis Exp $
--- config/nim.cfg.orig	Sun Jan  8 21:33:42 2017
+++ config/nim.cfg	Mon Jan  9 02:28:32 2017
@@ -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"
