add Production flag
This commit is contained in:
parent
32fd97a82e
commit
dcc6096fdc
1 changed files with 9 additions and 3 deletions
|
@ -5,7 +5,7 @@ License: GPL
|
||||||
Maintainer: Joey Hess <joey@kitenet.net>
|
Maintainer: Joey Hess <joey@kitenet.net>
|
||||||
Author: Joey Hess
|
Author: Joey Hess
|
||||||
Stability: Stable
|
Stability: Stable
|
||||||
Copyright: 2010-2012 Joey Hess
|
Copyright: 2010-2013 Joey Hess
|
||||||
License-File: COPYRIGHT
|
License-File: COPYRIGHT
|
||||||
Homepage: http://git-annex.branchable.com/
|
Homepage: http://git-annex.branchable.com/
|
||||||
Build-type: Custom
|
Build-type: Custom
|
||||||
|
@ -52,6 +52,9 @@ Flag XMPP
|
||||||
Flag DNS
|
Flag DNS
|
||||||
Description: Enable the haskell DNS library for DNS lookup
|
Description: Enable the haskell DNS library for DNS lookup
|
||||||
|
|
||||||
|
Flag Production
|
||||||
|
Description: Enable production build
|
||||||
|
|
||||||
Executable git-annex
|
Executable git-annex
|
||||||
Main-Is: git-annex.hs
|
Main-Is: git-annex.hs
|
||||||
Build-Depends: MissingH, hslogger, directory, filepath,
|
Build-Depends: MissingH, hslogger, directory, filepath,
|
||||||
|
@ -65,7 +68,11 @@ Executable git-annex
|
||||||
Other-Modules: Utility.Touch Utility.Mounts
|
Other-Modules: Utility.Touch Utility.Mounts
|
||||||
Include-Dirs: Utility
|
Include-Dirs: Utility
|
||||||
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
|
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
|
||||||
GHC-Options: -threaded
|
CC-Options: -Wall
|
||||||
|
GHC-Options: -threaded -Wall
|
||||||
|
|
||||||
|
if flag(Production)
|
||||||
|
GHC-Options: -O2
|
||||||
|
|
||||||
if flag(S3)
|
if flag(S3)
|
||||||
Build-Depends: hS3
|
Build-Depends: hS3
|
||||||
|
@ -130,7 +137,6 @@ Test-Suite test
|
||||||
Other-Modules: Utility.Touch
|
Other-Modules: Utility.Touch
|
||||||
Include-Dirs: Utility
|
Include-Dirs: Utility
|
||||||
C-Sources: Utility/libdiskfree.c
|
C-Sources: Utility/libdiskfree.c
|
||||||
Extensions: CPP
|
|
||||||
GHC-Options: -threaded
|
GHC-Options: -threaded
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue