| 1 |
--- haskell-safe-exceptions-0.1.7.4.orig/safe-exceptions.cabal |
| 2 |
+++ haskell-safe-exceptions-0.1.7.4/safe-exceptions.cabal |
| 3 |
@@ -13,6 +13,10 @@ build-type: Simple |
| 4 |
extra-source-files: README.md ChangeLog.md COOKBOOK.md |
| 5 |
cabal-version: >=1.10 |
| 6 |
|
| 7 |
+flag smp |
| 8 |
+ description: build test with -N |
| 9 |
+ default: True |
| 10 |
+ |
| 11 |
library |
| 12 |
hs-source-dirs: src |
| 13 |
exposed-modules: Control.Exception.Safe |
| 14 |
@@ -32,7 +36,10 @@ test-suite safe-exceptions-test |
| 15 |
, safe-exceptions |
| 16 |
, transformers |
| 17 |
, void |
| 18 |
- ghc-options: -threaded -rtsopts -with-rtsopts=-N |
| 19 |
+ if flag(smp) |
| 20 |
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N |
| 21 |
+ else |
| 22 |
+ ghc-options: -threaded |
| 23 |
default-language: Haskell2010 |
| 24 |
|
| 25 |
source-repository head |