Cabal.hs 369 Bytes
Newer Older
1 2
module Settings.Packages.Cabal where

3
import Expression
4 5

cabalPackageArgs :: Args
Andrey Mokhov's avatar
Andrey Mokhov committed
6
cabalPackageArgs = package cabal ?
7 8 9
    -- Cabal is a rather large library and quite slow to compile. Moreover, we
    -- build it for stage0 only so we can link ghc-pkg against it, so there is
    -- little reason to spend the effort to optimize it.
Andrey Mokhov's avatar
Andrey Mokhov committed
10
    stage0 ? builder Ghc ? arg "-O0"