From a5db4246656afae3541936269e727d9a9cc39795 Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Mon, 2 Jul 2012 16:29:11 -0700 Subject: [PATCH] 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. --- pandoc.cabal | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pandoc.cabal b/pandoc.cabal index b4c74125f..139e576ec 100644 --- a/pandoc.cabal +++ b/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