Skip to content

Commit

Permalink
Add a developer flag, controlling -auto-all.
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed Jan 25, 2011
1 parent ae90143 commit a5c8fbd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion attoparsec.cabal
Expand Up @@ -31,6 +31,10 @@ extra-source-files:
examples/TestRFC2616.hs
examples/rfc2616.c

Flag developer
Description: Whether to build the library in development mode
Default: False

flag split-base
flag applicative-in-base

Expand All @@ -56,7 +60,9 @@ library
Data.Attoparsec.Lazy
other-modules: Data.Attoparsec.Internal
ghc-options: -Wall
ghc-prof-options: -auto-all

if flag(developer)
ghc-prof-options: -auto-all

source-repository head
type: mercurial
Expand Down

0 comments on commit a5c8fbd

Please sign in to comment.