Merge pull request #184 from domenkozar/pthread-gold
Link against pthread on Linux to support gold linker
This commit is contained in:
commit
06dc3de5c4
@ -226,6 +226,8 @@ Library
|
|||||||
, foundation >= 0.0.8
|
, foundation >= 0.0.8
|
||||||
, ghc-prim
|
, ghc-prim
|
||||||
ghc-options: -Wall -fwarn-tabs -optc-O3 -fno-warn-unused-imports
|
ghc-options: -Wall -fwarn-tabs -optc-O3 -fno-warn-unused-imports
|
||||||
|
if os(linux)
|
||||||
|
extra-libraries: pthread
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
cc-options: -std=gnu99
|
cc-options: -std=gnu99
|
||||||
if flag(old_toolchain_inliner)
|
if flag(old_toolchain_inliner)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user