git-annex.cabal: let the 'Fast' flag default to 'False' unless it's explicitly specified

The current use of the 'Fast' and 'Production' flags is both inconsistent and
redundant. It's inconsistent, because users are allowed to specify both '-fFast
-fProduction' at the same time -- thereby enabling two contradicting features.

The flags are redundant, because Cabal allows users to specify '-O0' at
configure time, which is essentially the same as '-fFast'. Since 'Production'
is just the opposite of 'Fast', this means that neither flag is needed.
This commit is contained in:
Peter Simons 2013-02-28 11:41:05 +01:00 committed by Joey Hess
parent c993d8e710
commit be6d9f6f5c

View file

@ -57,6 +57,7 @@ Flag Production
Flag Fast
Description: Faster build; slower binary
Default: False
Flag Android
Description: Building for Android