File: threaded-option

package info (click to toggle)
haskell-debian 4.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: haskell: 3,914; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: b/debian.cabal
===================================================================
--- a/debian.cabal
+++ b/debian.cabal
@@ -21,6 +21,10 @@ flag network-uri
  Description: Get Network.URI from the network-uri package
  Default: True
 
+flag threaded
+  description: build threaded
+  default: True
+
 Library
  Hs-Source-Dirs: src
  Build-Depends:
@@ -118,7 +122,9 @@ Executable apt-get-build-depends
  Hs-Source-Dirs: utils
  Main-is: AptGetBuildDeps.hs
  Build-Depends: base, debian, process
- ghc-options: -threaded -W
+ ghc-options: -W
+ if flag(threaded)
+   ghc-options: -threaded
  default-extensions:           ExistentialQuantification CPP
  default-language: Haskell2010