diff options
-rw-r--r-- | pandoc.cabal | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index ab8640010..d13e9cf60 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -235,10 +235,13 @@ Library Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4 else Build-depends: base >= 3 && < 4 - if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output + if impl(ghc >= 7.0.1) + Ghc-Options: -O2 -rtsopts -threaded -Wall -fno-warn-unused-do-bind -dno-debug-output else - Ghc-Options: -O2 -Wall + if impl(ghc >= 6.12) + Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind -dno-debug-output + else + Ghc-Options: -O2 -Wall -threaded if impl(ghc >= 7.0.1) Ghc-Prof-Options: -auto-all -caf-all -rtsopts else @@ -340,10 +343,13 @@ Executable pandoc Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4 else Build-depends: base >= 3 && < 4 - if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output + if impl(ghc >= 7.0.1) + Ghc-Options: -O2 -rtsopts -threaded -Wall -fno-warn-unused-do-bind -dno-debug-output else - Ghc-Options: -O2 -Wall + if impl(ghc >= 6.12) + Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind -dno-debug-output + else + Ghc-Options: -O2 -Wall -threaded if impl(ghc >= 7.0.1) Ghc-Prof-Options: -auto-all -caf-all -rtsopts else @@ -404,10 +410,13 @@ Executable test-pandoc Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4 else Build-depends: base >= 3 && < 4 - if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output + if impl(ghc >= 7.0.1) + Ghc-Options: -O2 -rtsopts -threaded -Wall -fno-warn-unused-do-bind -dno-debug-output else - Ghc-Options: -O2 -Wall + if impl(ghc >= 6.12) + Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind -dno-debug-output + else + Ghc-Options: -O2 -Wall -threaded if impl(ghc >= 7.0.1) Ghc-Prof-Options: -auto-all -caf-all -rtsopts else |