true-by-default threaded flag for hledger, allowing non-threaded builds on some debian architectures (Clint Adams)
This commit is contained in:
parent
9bdb170a0a
commit
a26ecdb3e3
@ -35,6 +35,10 @@ source-repository head
|
|||||||
type: darcs
|
type: darcs
|
||||||
location: http://joyful.com/repos/hledger
|
location: http://joyful.com/repos/hledger
|
||||||
|
|
||||||
|
flag threaded
|
||||||
|
Description: Build with support for multithreaded execution
|
||||||
|
Default: True
|
||||||
|
|
||||||
library
|
library
|
||||||
-- XXX should set patchlevel here as in Makefile
|
-- XXX should set patchlevel here as in Makefile
|
||||||
cpp-options: -DPATCHLEVEL=0
|
cpp-options: -DPATCHLEVEL=0
|
||||||
@ -105,8 +109,10 @@ executable hledger
|
|||||||
Hledger.Cli.Stats
|
Hledger.Cli.Stats
|
||||||
-- XXX should set patchlevel here as in Makefile
|
-- XXX should set patchlevel here as in Makefile
|
||||||
cpp-options: -DPATCHLEVEL=0
|
cpp-options: -DPATCHLEVEL=0
|
||||||
ghc-options: -threaded -W
|
ghc-options: -W
|
||||||
-- should be the same as above
|
if flag(threaded)
|
||||||
|
ghc-options: -threaded
|
||||||
|
-- should be the same as above
|
||||||
build-depends:
|
build-depends:
|
||||||
hledger-lib == 0.17
|
hledger-lib == 0.17
|
||||||
,base >= 3 && < 5
|
,base >= 3 && < 5
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user