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:
John MacFarlane 2012-07-02 16:29:11 -07:00
parent 9e458d7974
commit a5db424665

View file

@ -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