diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-06-27 15:25:35 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-06-27 15:25:35 -0700 |
commit | 38f933356f9bc226a2dd933c2a1bb73999a57a34 (patch) | |
tree | a8bfb3a123973b90196b0be5c69d6077f458e76c | |
parent | 7da913dbd77c8ccad4550d23ee176322e0593820 (diff) | |
download | pandoc-38f933356f9bc226a2dd933c2a1bb73999a57a34.tar.gz |
Use -rtsopts and -threaded.
-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 |