Commits

Bryan O'Sullivan committed 39351ef

Add a developer flag, controlling -auto-all.

  • Participants
  • Parent commits 4001566
  • Tags 0.8.4.0

Comments (0)

Files changed (1)

File attoparsec.cabal

     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
 
                    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