@@ -274,17 +274,8 @@ Library
274274 cpp-options: -DEMBED_DATA_FILES
275275 -- build-tools: hsb2hs
276276 other-modules: Text.Pandoc.Data
277− if impl(ghc >= 7.0.1)
278− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
279− else
280− if impl(ghc >= 6.12)
281− Ghc-Options: -Wall -fno-warn-unused-do-bind
282− else
283− Ghc-Options: -Wall
284− if impl(ghc >= 7.0.1)
285− Ghc-Prof-Options: -auto-all -caf-all -rtsopts
286− else
287− Ghc-Prof-Options: -auto-all -caf-all
277+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
278+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts
288279 Default-Language: Haskell98
289280 Default-Extensions: CPP
290281 Other-Extensions: PatternGuards, OverloadedStrings,
@@ -361,17 +352,8 @@ Executable pandoc
361352 highlighting-kate >= 0.5.5 && < 0.6,
362353 HTTP >= 4000.0.5 && < 4000.3,
363354 citeproc-hs >= 0.3.7 && < 0.4
364− if impl(ghc >= 7.0.1)
365− Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
366− else
367− if impl(ghc >= 6.12)
368− Ghc-Options: -Wall -fno-warn-unused-do-bind
369− else
370− Ghc-Options: -Wall
371− if impl(ghc >= 7.0.1)
372− Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
373− else
374− Ghc-Prof-Options: -auto-all -caf-all
355+ Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
356+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
375357 if os(windows)
376358 Cpp-options: -D_WINDOWS
377359 Default-Language: Haskell98
@@ -431,17 +413,7 @@ Test-Suite test-pandoc
431413 Tests.Writers.HTML
432414 Tests.Writers.Markdown
433415 Tests.Writers.LaTeX
434− if impl(ghc >= 7.0.1)
435− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
436− else
437− if impl(ghc >= 6.12)
438− Ghc-Options: -Wall -fno-warn-unused-do-bind
439− else
440− Ghc-Options: -Wall
441− if impl(ghc >= 7)
442− cpp-options: -D_LIT=lit
443− else
444− cpp-options: -D_LIT=$lit
416+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
445417 Default-Language: Haskell98
446418 Default-Extensions: CPP
447419
@@ -453,11 +425,5 @@ benchmark benchmark-pandoc
453425 base >= 4.2 && < 5,
454426 syb >= 0.1 && < 0.5,
455427 criterion >= 0.5 && < 0.9
456− if impl(ghc >= 7.0.1)
457− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
458− else
459− if impl(ghc >= 6.12)
460− Ghc-Options: -Wall -fno-warn-unused-do-bind
461− else
462− Ghc-Options: -Wall
428+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
463429 Default-Language: Haskell98