summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-11-22 19:08:34 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-11-22 19:08:34 +0000
commita4e0b97bf82435059b79e7d637114cb96882cc50 (patch)
tree82aa9ca0cb7c7ce23b3de38ea72c8a3d9e84dac7
parent5a0179d0a05fcb0f6fc0946a4c2ad2423a5fd5e3 (diff)
Use Ghc-Prof-Options to ensure that '-auto-all' is used
when '--enable-*-profiling' is specified. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1090 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--pandoc.cabal6
1 files changed, 4 insertions, 2 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 12877a745..efd8bc9bd 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -33,8 +33,8 @@ Description: Pandoc is a Haskell library for converting from one markup
format. Thus, adding an input or output format requires
only adding a reader or writer.
Flag splitBase
- Description: Choose the new, smaller, split-up base package.
- Default: True
+ Description: Choose the new, smaller, split-up base package.
+ Default: True
Library
if flag(splitBase)
@@ -65,8 +65,10 @@ Library
Text.Pandoc.Writers.RTF,
Text.Pandoc.Writers.S5
Ghc-Options: -O2
+ Ghc-Prof-Options: -auto-all
Executable pandoc
Hs-Source-Dirs: src
Main-Is: Main.hs
Ghc-Options: -O2
+ Ghc-Prof-Options: -auto-all