projects
/
ghc-prim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4b8a9
)
optionally include GHC.Prim in exposed-modules (for the new GHC build system)
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 17 Dec 2008 10:45:42 +0000
(10:45 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 17 Dec 2008 10:45:42 +0000
(10:45 +0000)
ghc-prim.cabal
patch
|
blob
|
history
diff --git
a/ghc-prim.cabal
b/ghc-prim.cabal
index
7bbf523
..
c329484
100644
(file)
--- a/
ghc-prim.cabal
+++ b/
ghc-prim.cabal
@@
-9,6
+9,11
@@
description:
cabal-version: >=1.2
build-type: Custom
+flag include-ghc-prim {
+ Description: Include GHC.Prim in exposed-modules
+ default: False
+}
+
Library {
build-depends: rts
exposed-modules:
@@
-21,6
+26,11
@@
Library {
GHC.Tuple
GHC.Types
GHC.Unit
+
+ if flag(include-ghc-prim) {
+ exposed-modules: GHC.Prim
+ }
+
c-sources:
cbits/longlong.c
extensions: CPP, MagicHash, ForeignFunctionInterface, UnliftedFFITypes,