diff options
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 71cb0135b..da855a07d 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -298,7 +298,10 @@ Executable test-pandoc if !flag(tests) Buildable: False else - Ghc-Options: -Wall + if impl(ghc >= 6.12) + Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind + else + Ghc-Options: -O2 -Wall Extensions: CPP Build-Depends: base >= 4 && < 5, Diff, test-framework, test-framework-hunit, HUnit Other-Modules: Text.Pandoc.Shared, Text.Pandoc.Highlighting, Text.Pandoc.Writers.Native |