aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-05-29 12:29:38 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-05-29 12:29:38 -0700
commitb66406822125364b5fbb66007bd9401163336e7c (patch)
tree4869bd94b9b1c46e1271611ee1844330371a5eae
parent0a6e9f048a5aa18e3f3832aafc108deadf590a27 (diff)
downloadpandoc-b66406822125364b5fbb66007bd9401163336e7c.tar.gz
Set default stack size to 16M.
This is needed for some large conversions, esp. if pandoc is compiled with 64-bit ghc.
-rw-r--r--pandoc.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 24711a1f8..e417d9ece 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -348,14 +348,14 @@ Executable pandoc
HTTP >= 4000.0.5 && < 4000.3,
citeproc-hs >= 0.3.7 && < 0.4
if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
+ 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
+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
else
Ghc-Prof-Options: -auto-all -caf-all
if os(windows)