git.iko.soy/typeable/pandoc
on master help sign in
Removed -O2.

The benchmark differences between -O2 and the default were so slight that it's not worth it. (Measured with ghc 7.4.)

commite1225643bb882121f82bf73b59df9417e7c8bf13 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSat 19 Jan 2013, 16:29 (14 years ago) parent08ce073
1 file changed+12−12
pandoc.cabal+12−12
pandoc.cabal+12−12
@@ -236,12 +236,12 @@ Library
236236 template-haskell >= 2.4 && < 2.9
237237 cpp-options: -DEMBED_DATA_FILES
238238 if impl(ghc >= 7.0.1)
239− Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind
239+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
240240 else
241241 if impl(ghc >= 6.12)
242− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
242+ Ghc-Options: -Wall -fno-warn-unused-do-bind
243243 else
244− Ghc-Options: -O2 -Wall
244+ Ghc-Options: -Wall
245245 if impl(ghc >= 7.0.1)
246246 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
247247 else
@@ -315,12 +315,12 @@ Executable pandoc
315315 HTTP >= 4000.0.5 && < 4000.3,
316316 citeproc-hs >= 0.3.6 && < 0.4
317317 if impl(ghc >= 7.0.1)
318− Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind
318+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
319319 else
320320 if impl(ghc >= 6.12)
321− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
321+ Ghc-Options: -Wall -fno-warn-unused-do-bind
322322 else
323− Ghc-Options: -O2 -Wall
323+ Ghc-Options: -Wall
324324 if impl(ghc >= 7.0.1)
325325 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
326326 else
@@ -383,12 +383,12 @@ Test-Suite test-pandoc
383383 Tests.Writers.Markdown
384384 Tests.Writers.LaTeX
385385 if impl(ghc >= 7.0.1)
386− Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind
386+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
387387 else
388388 if impl(ghc >= 6.12)
389− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
389+ Ghc-Options: -Wall -fno-warn-unused-do-bind
390390 else
391− Ghc-Options: -O2 -Wall
391+ Ghc-Options: -Wall
392392 if impl(ghc >= 7)
393393 cpp-options: -D_LIT=lit
394394 else
@@ -406,10 +406,10 @@ benchmark benchmark-pandoc
406406 criterion >= 0.5 && < 0.7,
407407 json >= 0.4 && < 0.8
408408 if impl(ghc >= 7.0.1)
409− Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind
409+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
410410 else
411411 if impl(ghc >= 6.12)
412− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
412+ Ghc-Options: -Wall -fno-warn-unused-do-bind
413413 else
414− Ghc-Options: -O2 -Wall
414+ Ghc-Options: -Wall
415415 Default-Language: Haskell98