Turn off the gcd/lcm optimisations for Integer for now
[ghc-base.git] / base.cabal
index 335ab39..6d218fa 100644 (file)
@@ -9,18 +9,15 @@ description:
     and a large collection of useful libraries ranging from data
     structures to parsing combinators and debugging utilities.
 cabal-version:  >=1.2
-build-type: Custom
+build-type: Configure
 extra-tmp-files:
                 config.log config.status autom4te.cache
                 include/HsBaseConfig.h
 
 
 Library {
-    -- This is actually something of a hack, as if we are using
-    -- GHC and we don't have an rts package for some reason, we
-    -- actually ought to fail.
     if impl(ghc) {
-        build-depends: rts
+        build-depends: rts, ghc-prim, integer
         exposed-modules:
             Data.Generics,
             Data.Generics.Aliases,
@@ -51,7 +48,6 @@ Library {
             GHC.Num,
             GHC.PArr,
             GHC.Pack,
-            GHC.PrimopWrappers,
             GHC.Ptr,
             GHC.Read,
             GHC.Real,
@@ -164,7 +160,6 @@ Library {
         cbits/consUtils.c
         cbits/dirUtils.c
         cbits/inputReady.c
-        cbits/longlong.c
         cbits/selectUtils.c
     include-dirs: include
     includes:    HsBase.h