From e1225643bb882121f82bf73b59df9417e7c8bf13 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 19 Jan 2013 16:29:18 -0800 Subject: Removed -O2. The benchmark differences between -O2 and the default were so slight that it's not worth it. (Measured with ghc 7.4.) --- pandoc.cabal | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'pandoc.cabal') diff --git a/pandoc.cabal b/pandoc.cabal index 657415b1c..becd8df7a 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -236,12 +236,12 @@ Library template-haskell >= 2.4 && < 2.9 cpp-options: -DEMBED_DATA_FILES if impl(ghc >= 7.0.1) - Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind else if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind + Ghc-Options: -Wall -fno-warn-unused-do-bind else - Ghc-Options: -O2 -Wall + Ghc-Options: -Wall if impl(ghc >= 7.0.1) Ghc-Prof-Options: -auto-all -caf-all -rtsopts else @@ -315,12 +315,12 @@ Executable pandoc HTTP >= 4000.0.5 && < 4000.3, citeproc-hs >= 0.3.6 && < 0.4 if impl(ghc >= 7.0.1) - Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind else if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind + Ghc-Options: -Wall -fno-warn-unused-do-bind else - Ghc-Options: -O2 -Wall + Ghc-Options: -Wall if impl(ghc >= 7.0.1) Ghc-Prof-Options: -auto-all -caf-all -rtsopts else @@ -383,12 +383,12 @@ Test-Suite test-pandoc Tests.Writers.Markdown Tests.Writers.LaTeX if impl(ghc >= 7.0.1) - Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind else if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind + Ghc-Options: -Wall -fno-warn-unused-do-bind else - Ghc-Options: -O2 -Wall + Ghc-Options: -Wall if impl(ghc >= 7) cpp-options: -D_LIT=lit else @@ -406,10 +406,10 @@ benchmark benchmark-pandoc criterion >= 0.5 && < 0.7, json >= 0.4 && < 0.8 if impl(ghc >= 7.0.1) - Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind else if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind + Ghc-Options: -Wall -fno-warn-unused-do-bind else - Ghc-Options: -O2 -Wall + Ghc-Options: -Wall Default-Language: Haskell98 -- cgit v1.2.3