mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 02:12:11 +00:00
Merge pull request #2115 from oderwat/no-pthread-on-osx
Disable -pthread for compiler/linker on OSX
This commit is contained in:
@@ -95,7 +95,9 @@ when defined(windows):
|
||||
importc: "TlsGetValue", stdcall, dynlib: "kernel32".}
|
||||
|
||||
else:
|
||||
{.passL: "-pthread".}
|
||||
when not defined(macosx):
|
||||
{.passL: "-pthread".}
|
||||
|
||||
{.passC: "-pthread".}
|
||||
|
||||
type
|
||||
|
||||
Reference in New Issue
Block a user