Re-export Expression from Predicates
[ghc.git] / src / Settings / Packages / Unlit.hs
1 module Settings.Packages.Unlit (unlitPackageArgs) where
2
3 import Base
4 import GHC
5 import Predicates
6 import Settings
7
8 unlitPackageArgs :: Args
9 unlitPackageArgs = package unlit ? do
10 path <- getBuildPath
11 let cabalMacros = path -/- "autogen/cabal_macros.h"
12 mconcat [ builder Ghc ?
13 mconcat [ arg "-no-hs-main"
14 , remove ["-hide-all-packages"]
15 , removePair "-optP-include" $ "-optP" ++ cabalMacros ] ]