Don't use -rtsopts unless ghc >= 7.0.1.
This commit is contained in:
parent
ce9f5f36c8
commit
9bf32a7554
1 changed files with 8 additions and 2 deletions
10
pandoc.cabal
10
pandoc.cabal
|
@ -226,7 +226,10 @@ Library
|
||||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
||||||
else
|
else
|
||||||
Ghc-Options: -O2 -Wall
|
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
|
Extensions: CPP
|
||||||
Hs-Source-Dirs: src
|
Hs-Source-Dirs: src
|
||||||
-- END DUPLICATED SECTION
|
-- END DUPLICATED SECTION
|
||||||
|
@ -318,7 +321,10 @@ Executable pandoc
|
||||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
||||||
else
|
else
|
||||||
Ghc-Options: -O2 -Wall
|
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
|
Extensions: CPP
|
||||||
Hs-Source-Dirs: src
|
Hs-Source-Dirs: src
|
||||||
-- END DUPLICATED SECTION
|
-- END DUPLICATED SECTION
|
||||||
|
|
Loading…
Reference in a new issue