Permalink
Browse files

Add dependency on ghc-prim for impl(ghc).

Also perform some reformatting -- remove explicit brackets
and shuffle the content so that properties are grouped in one place.
  • Loading branch information...
1 parent 4ba5d57 commit 92d55cc509c9b44ce7d536a00ba4994aa1aeea9c @foxik foxik committed Nov 16, 2011
Showing with 14 additions and 6 deletions.
  1. +14 −6 containers.cabal
View
20 containers.cabal
@@ -21,22 +21,30 @@ source-repository head
Library
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.3
+ if impl(ghc)
+ build-depends: ghc-prim
+
ghc-options: -O2
if impl(ghc>6.10)
- Ghc-Options: -fregs-graph
+ ghc-options: -fregs-graph
+
exposed-modules:
Data.IntMap
Data.IntSet
Data.Map
Data.Set
- include-dirs: include
- extensions: CPP
if !impl(nhc98)
exposed-modules:
Data.Graph
Data.Sequence
Data.Tree
- if impl(ghc)
- extensions: DeriveDataTypeable, StandaloneDeriving,
- MagicHash, Rank2Types
+ include-dirs: include
+
+ extensions: CPP
+ if impl(ghc)
+ extensions:
+ DeriveDataTypeable
+ StandaloneDeriving
+ MagicHash
+ Rank2Types

0 comments on commit 92d55cc

Please sign in to comment.