aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nim/files/patch-config-nim.cfg
blob: 0df182ac5da96dd19c5a5b83de6d074f6c60820a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- config/nim.cfg.orig	2023-08-02 14:51:21 UTC
+++ config/nim.cfg
@@ -130,10 +130,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"