pandoc.cabal: Removed support for ghc version < 7.2.
There is no point to supporting them, since pandoc-types requires at least ghc 7.2 for GHC generics.
This commit is contained in:
parent
1567d291a3
commit
a24409d43e
1 changed files with 6 additions and 40 deletions
46
pandoc.cabal
46
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
|
||||
|
|
Loading…
Add table
Reference in a new issue