diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-05 12:14:34 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-05 12:14:34 -0800 |
commit | 9bf32a7554da7912efff95a4cd59bb4faaf44fa5 (patch) | |
tree | e6d3ec189afcbdfa58c72230a4515e394a6d5d07 /pandoc.cabal | |
parent | ce9f5f36c8d36a930f0af8b1f1d3eefdb1658ba6 (diff) |
Don't use -rtsopts unless ghc >= 7.0.1.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 10 |
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 |