From b66406822125364b5fbb66007bd9401163336e7c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 29 May 2013 12:29:38 -0700 Subject: [PATCH] Set default stack size to 16M. This is needed for some large conversions, esp. if pandoc is compiled with 64-bit ghc. --- pandoc.cabal | 4 ++-- 1 file 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)