[commit: containers] master: Small changes to compile flags. (59d42af)
Ian Lynagh
igloo at earth.li
Thu Feb 23 01:14:40 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/59d42af220de7b9ca8298348edd3b668dee874c3
>---------------------------------------------------------------
commit 59d42af220de7b9ca8298348edd3b668dee874c3
Author: Milan Straka <fox at ucw.cz>
Date: Wed Nov 23 17:11:30 2011 +0100
Small changes to compile flags.
* ghc-prim is available since 6.10, was part of base before
* -fregs-graph is activated by -O2 since ghc 7.0 and had
performance issues before that. Reference: ticket #2790.
>---------------------------------------------------------------
containers.cabal | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/containers.cabal b/containers.cabal
index 5b75945..a115956 100644
--- a/containers.cabal
+++ b/containers.cabal
@@ -25,12 +25,10 @@ flag testing
Library
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.3
- if impl(ghc)
+ if impl(ghc>=6.10)
build-depends: ghc-prim
ghc-options: -O2 -Wall
- if impl(ghc>6.10)
- ghc-options: -fregs-graph
exposed-modules:
Data.IntMap
More information about the Cvs-libraries
mailing list