summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Builders/Ld.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Settings/Builders/Ld.hs')
-rw-r--r--hadrian/src/Settings/Builders/Ld.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Builders/Ld.hs b/hadrian/src/Settings/Builders/Ld.hs
new file mode 100644
index 0000000000..2715bbb20c
--- /dev/null
+++ b/hadrian/src/Settings/Builders/Ld.hs
@@ -0,0 +1,9 @@
+module Settings.Builders.Ld (ldBuilderArgs) where
+
+import Settings.Builders.Common
+
+ldBuilderArgs :: Args
+ldBuilderArgs = builder Ld ? mconcat [ getStagedSettingList ConfLdLinkerArgs
+ , arg "-r"
+ , arg "-o", arg =<< getOutput
+ , getInputs ]