summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Packages/Cabal.hs
blob: c01be4b3ed819f04ed4f3552bd3b109be60ea8e0 (plain)
1
2
3
4
5
6
7
8
9
10
module Settings.Packages.Cabal where

import Expression

cabalPackageArgs :: Args
cabalPackageArgs = package cabal ?
    -- 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.
    stage0 ? builder Ghc ? arg "-O0"