Set default stack size to 16M.

This is needed for some large conversions, esp. if pandoc
is compiled with 64-bit ghc.
This commit is contained in:
John MacFarlane 2013-05-29 12:29:38 -07:00
parent 0a6e9f048a
commit b664068221

View file

@ -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)