Skip to content

Commit

Permalink
Add -threaded and -rtsopts to cabal-install's ghc-options.
Browse files Browse the repository at this point in the history
We don't want FFI calls to block all Haskell threads, so we need to use the
threaded runtime; -rtsopts is for experimenting with the number of capabilities.
  • Loading branch information
23Skidoo authored and kosmikus committed Jun 25, 2012
1 parent 89e90ee commit 821bf35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ flag bytestring-in-base

Executable cabal
Main-Is: Main.hs
ghc-options: -Wall
ghc-options: -Wall -threaded -rtsopts
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
Other-Modules:
Expand Down

0 comments on commit 821bf35

Please sign in to comment.