Skip to content

Commit

Permalink
Merge pull request #1407 from tweag/pthread
Browse files Browse the repository at this point in the history
docs: remove redundant pthread linker flag
  • Loading branch information
mergify[bot] authored Aug 12, 2020
2 parents 1ce286c + 91c0fd6 commit a493242
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/haskell-use-cases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,8 @@ expression that supplies appropriate ``cc`` and ``binutils`` derivations::
)

With the toolchain taken care of, you can then create fully-statically-linked
binaries by passing the ``-optl-static`` and ``-optl-pthread`` flags as
``compiler_flags`` to GHC, e.g. in ``haskell_binary``::
binaries by passing the ``-optl-static`` flag as ``compiler_flags`` to GHC,
e.g. in ``haskell_binary``::

haskell_binary(
name = ...,
Expand All @@ -723,7 +723,6 @@ binaries by passing the ``-optl-static`` and ``-optl-pthread`` flags as
...,
compiler_flags = [
"-optl-static",
"-optl-pthread",
],
)

Expand Down

0 comments on commit a493242

Please sign in to comment.