Scaffolded site: put -threaded on the executable

This commit is contained in:
Michael Snoyman 2012-05-18 16:59:34 +03:00
parent ef0a7f0518
commit a919d1ef7e

View File

@ -32,9 +32,9 @@ library
if flag(dev) || flag(library-only) if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT cpp-options: -DDEVELOPMENT
ghc-options: -Wall -threaded -O0 ghc-options: -Wall -O0
else else
ghc-options: -Wall -threaded -O2 ghc-options: -Wall -O2
extensions: TemplateHaskell extensions: TemplateHaskell
QuasiQuotes QuasiQuotes
@ -86,6 +86,8 @@ executable ~project~
, ~project~ , ~project~
, yesod-default , yesod-default
ghc-options: -threaded -O2
test-suite test test-suite test
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: main.hs main-is: main.hs