From 9de4f8bce578f4dd1e6b34fd34ced67cf5a30937 Mon Sep 17 00:00:00 2001
From: Bryan O'Sullivan <bos@serpentine.com>
Date: Mon, 24 Jan 2011 23:11:41 -0800
Subject: [PATCH] Make the developer flag control -auto-all.

---
 text.cabal | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/text.cabal b/text.cabal
index 8550e832..f5c4ae41 100644
--- a/text.cabal
+++ b/text.cabal
@@ -1,5 +1,5 @@
 name:           text
-version:        0.11.0.1
+version:        0.11.0.2
 homepage:       http://bitbucket.org/bos/text
 bug-reports:    http://bitbucket.org/bos/text/issues
 synopsis:       An efficient packed Unicode text type.
@@ -124,13 +124,11 @@ library
     build-depends: extensible-exceptions
     extensions: PatternSignatures
 
-  -- gather extensive profiling data for now
-  ghc-prof-options: -auto-all
-
   ghc-options: -Wall -funbox-strict-fields -O2
   if impl(ghc >= 6.8)
     ghc-options: -fwarn-tabs
   if flag(developer)
+    ghc-prof-options: -auto-all
     ghc-options: -Werror
     cpp-options: -DASSERTS
 
-- 
GitLab