aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pandoc.cabal46
1 files changed, 6 insertions, 40 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index cd04a2faf..7d4bccc41 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -274,17 +274,8 @@ Library
cpp-options: -DEMBED_DATA_FILES
-- build-tools: hsb2hs
other-modules: Text.Pandoc.Data
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
- if impl(ghc >= 7.0.1)
- Ghc-Prof-Options: -auto-all -caf-all -rtsopts
- else
- Ghc-Prof-Options: -auto-all -caf-all
+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts
Default-Language: Haskell98
Default-Extensions: CPP
Other-Extensions: PatternGuards, OverloadedStrings,
@@ -361,17 +352,8 @@ Executable pandoc
highlighting-kate >= 0.5.5 && < 0.6,
HTTP >= 4000.0.5 && < 4000.3,
citeproc-hs >= 0.3.7 && < 0.4
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
- if impl(ghc >= 7.0.1)
- Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
- else
- Ghc-Prof-Options: -auto-all -caf-all
+ Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
if os(windows)
Cpp-options: -D_WINDOWS
Default-Language: Haskell98
@@ -431,17 +413,7 @@ Test-Suite test-pandoc
Tests.Writers.HTML
Tests.Writers.Markdown
Tests.Writers.LaTeX
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
- if impl(ghc >= 7)
- cpp-options: -D_LIT=lit
- else
- cpp-options: -D_LIT=$lit
+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell98
Default-Extensions: CPP
@@ -453,11 +425,5 @@ benchmark benchmark-pandoc
base >= 4.2 && < 5,
syb >= 0.1 && < 0.5,
criterion >= 0.5 && < 0.9
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell98