Add test compiler option to test (#621)
[hadrian.git] / src / Settings / Packages / Cabal.hs
1 module Settings.Packages.Cabal where
2
3 import Expression
4
5 cabalPackageArgs :: Args
6 cabalPackageArgs = package cabal ?
7 -- Cabal is a rather large library and quite slow to compile. Moreover, we
8 -- build it for stage0 only so we can link ghc-pkg against it, so there is
9 -- little reason to spend the effort to optimize it.
10 stage0 ? builder Ghc ? arg "-O0"