Implement documentation building (#413)
[hadrian.git] / src / Settings / Packages / Base.hs
1 module Settings.Packages.Base (basePackageArgs) where
2
3 import Expression
4 import Settings
5
6 basePackageArgs :: Args
7 basePackageArgs = package base ? do
8 integerLibrary <- expr integerLibraryName
9 mconcat [ builder GhcCabal ? arg ("--flags=" ++ integerLibrary)
10 -- Fix the 'unknown symbol stat' issue, see #259.
11 , builder (Ghc CompileCWithGhc) ? arg "-optc-O2" ]