1124b95031254628ba0cec8f05dcb5d87363b6ef
[ghc.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 -- This fixes the 'unknown symbol stat' issue.
11 -- See: https://github.com/snowleopard/hadrian/issues/259.
12 , builder (Ghc CompileCWithGhc) ? arg "-optc-O2" ]