Use -rtsopts and -threaded.
This commit is contained in:
parent
7da913dbd7
commit
38f933356f
1 changed files with 18 additions and 9 deletions
27
pandoc.cabal
27
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
|
||||
|
|
Loading…
Reference in a new issue