Removed unneeded Extensions from cabal file.
Also disable compiler warnings for discarded values in do blocks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1746 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
fdf00ce17e
commit
c97c099c61
1 changed files with 6 additions and 6 deletions
12
pandoc.cabal
12
pandoc.cabal
|
@ -193,8 +193,8 @@ Library
|
|||
Text.Pandoc.Templates
|
||||
Other-Modules: Text.Pandoc.XML,
|
||||
Paths_pandoc
|
||||
Extensions: CPP, TemplateHaskell, FlexibleInstances
|
||||
Ghc-Options: -O2 -Wall
|
||||
Extensions: CPP
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
||||
Ghc-Prof-Options: -auto-all -caf-all
|
||||
|
||||
if flag(library)
|
||||
|
@ -205,9 +205,9 @@ Library
|
|||
Executable pandoc
|
||||
Hs-Source-Dirs: src
|
||||
Main-Is: pandoc.hs
|
||||
Ghc-Options: -O2 -Wall -threaded
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -threaded
|
||||
Ghc-Prof-Options: -auto-all -caf-all
|
||||
Extensions: CPP, TemplateHaskell
|
||||
Extensions: CPP
|
||||
|
||||
if flag(highlighting)
|
||||
cpp-options: -D_HIGHLIGHTING
|
||||
|
@ -224,7 +224,7 @@ Executable hsmarkdown
|
|||
Main-Is: hsmarkdown.hs
|
||||
Ghc-Options: -Wall -threaded
|
||||
Ghc-Prof-Options: -auto-all
|
||||
Extensions: CPP, TemplateHaskell
|
||||
Extensions: CPP
|
||||
if flag(wrappers)
|
||||
Buildable: True
|
||||
else
|
||||
|
@ -235,7 +235,7 @@ Executable markdown2pdf
|
|||
Main-Is: markdown2pdf.hs
|
||||
Ghc-Options: -Wall -threaded
|
||||
Ghc-Prof-Options: -auto-all
|
||||
Extensions: CPP, TemplateHaskell
|
||||
Extensions: CPP
|
||||
if flag(wrappers)
|
||||
Buildable: True
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue