ea96947cf8148a0af3e07a73dab953a5114d3839
[hadrian.git] / src / Settings / Builders / Ld.hs
1 module Settings.Builders.Ld (ldArgs) where
2
3 import Builder
4 import Expression
5 import Oracles
6 import Predicates (builder)
7 import Settings.Util
8
9 ldArgs :: Args
10 ldArgs = builder Ld ? do
11 file <- getFile
12 objs <- getSources
13 mconcat [ argStagedSettingList ConfLdLinkerArgs
14 , arg "-r"
15 , arg "-o", arg file
16 , append objs ]