summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pandoc.cabal10
1 files changed, 8 insertions, 2 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 157dd12e3..25a2a7e4a 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -226,7 +226,10 @@ Library
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
else
Ghc-Options: -O2 -Wall
- Ghc-Prof-Options: -auto-all -caf-all -rtsopts
+ if impl(ghc >= 7.0.1)
+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts
+ else
+ Ghc-Prof-Options: -auto-all -caf-all
Extensions: CPP
Hs-Source-Dirs: src
-- END DUPLICATED SECTION
@@ -318,7 +321,10 @@ Executable pandoc
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
else
Ghc-Options: -O2 -Wall
- Ghc-Prof-Options: -auto-all -caf-all -rtsopts
+ if impl(ghc >= 7.0.1)
+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts
+ else
+ Ghc-Prof-Options: -auto-all -caf-all
Extensions: CPP
Hs-Source-Dirs: src
-- END DUPLICATED SECTION