Removed -threaded from cabal ghc-options.
Use of the threaded runtime imposes a slight performance penalty, and there is really no need for it, since pandoc doesn't run faster on multiple cores.
This commit is contained in:
parent
9e458d7974
commit
a5db424665
1 changed files with 6 additions and 6 deletions
12
pandoc.cabal
12
pandoc.cabal
|
@ -344,12 +344,12 @@ Executable pandoc
|
|||
else
|
||||
Build-depends: base >= 3 && < 4
|
||||
if impl(ghc >= 7.0.1)
|
||||
Ghc-Options: -O2 -rtsopts -threaded -Wall -fno-warn-unused-do-bind -dno-debug-output
|
||||
Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
|
||||
else
|
||||
if impl(ghc >= 6.12)
|
||||
Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind -dno-debug-output
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
|
||||
else
|
||||
Ghc-Options: -O2 -Wall -threaded
|
||||
Ghc-Options: -O2 -Wall
|
||||
if impl(ghc >= 7.0.1)
|
||||
Ghc-Prof-Options: -auto-all -caf-all -rtsopts
|
||||
else
|
||||
|
@ -411,12 +411,12 @@ Executable test-pandoc
|
|||
else
|
||||
Build-depends: base >= 3 && < 4
|
||||
if impl(ghc >= 7.0.1)
|
||||
Ghc-Options: -O2 -rtsopts -threaded -Wall -fno-warn-unused-do-bind -dno-debug-output
|
||||
Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
|
||||
else
|
||||
if impl(ghc >= 6.12)
|
||||
Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind -dno-debug-output
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
|
||||
else
|
||||
Ghc-Options: -O2 -Wall -threaded
|
||||
Ghc-Options: -O2 -Wall
|
||||
if impl(ghc >= 7.0.1)
|
||||
Ghc-Prof-Options: -auto-all -caf-all -rtsopts
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue