ports/lang/nim/files/patch-config-nim.cfg
Danilo G. Baio 7dae16d7b1 lang/nim: Update to 0.17.2
While here, add LICENSE_FILE and move to https address.

Changes:	https://nim-lang.org/blog/2017/09/07/version-0172-released.html

PR:		222427
Submitted by:	Neal Nelson <ports@nicandneal.net> (maintainer)
2017-10-18 22:02:12 +00:00

15 lines
496 B
INI

--- config/nim.cfg.orig 2017-09-18 14:38:15.184686000 +0000
+++ config/nim.cfg 2017-09-18 14:39:25.862654000 +0000
@@ -74,12 +74,6 @@
clang.cpp.options.linker = "-ldl"
tcc.options.linker = "-ldl"
@end
- @if bsd or haiku:
- # 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:
# -fopenmp
gcc.options.linker = "-lroot -lnetwork"