Use -rtsopts and -threaded.

This commit is contained in:
John MacFarlane 2012-06-27 15:25:35 -07:00
parent 7da913dbd7
commit 38f933356f

View file

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