File: threaded-option.diff

package info (click to toggle)
haskell-aeson 2.2.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,088 kB
  • sloc: haskell: 13,153; makefile: 14
file content (23 lines) | stat: -rw-r--r-- 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/aeson.cabal
+++ b/aeson.cabal
@@ -51,6 +51,10 @@ flag ordered-keymap
   default:     True
   manual:      True
 
+flag threaded
+  description: build threaded
+  default: True
+
 library
   default-language: Haskell2010
   hs-source-dirs:   src
@@ -137,6 +141,9 @@ library
 
   ghc-options:      -Wall
 
+  if flag(threaded)
+    ghc-options: -threaded
+
   -- String unescaping
 
   if flag(ordered-keymap)