aboutsummaryrefslogtreecommitdiffstats
path: root/community/ldc/01-conf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ldc/01-conf.patch')
-rw-r--r--community/ldc/01-conf.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/ldc/01-conf.patch b/community/ldc/01-conf.patch
new file mode 100644
index 0000000000..ad01f92d58
--- /dev/null
+++ b/community/ldc/01-conf.patch
@@ -0,0 +1,33 @@
+diff -urp a/ldc2.conf.in b/ldc2.conf.in
+--- a/ldc2.conf.in 2019-10-16 20:53:09.000000000 +0000
++++ b/ldc2.conf.in 2019-10-26 06:43:17.000000000 +0000
+@@ -18,6 +18,7 @@ default:
+ {
+ // default switches injected before all explicit command-line switches
+ switches = [
++ "-linker=bfd",
+ "-defaultlib=druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
+ ];
+ // default switches appended after all explicit command-line switches
+diff -urp a/ldc2_install.conf.in b/ldc2_install.conf.in
+--- a/ldc2_install.conf.in 2019-10-16 20:53:09.000000000 +0000
++++ b/ldc2_install.conf.in 2019-10-26 06:43:54.000000000 +0000
+@@ -18,6 +18,7 @@ default:
+ {
+ // default switches injected before all explicit command-line switches
+ switches = [
++ "-linker=bfd",
+ "-defaultlib=phobos2-ldc,druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
+ ];
+ // default switches appended after all explicit command-line switches
+diff -urp a/ldc2_phobos.conf.in b/ldc2_phobos.conf.in
+--- a/ldc2_phobos.conf.in 2019-10-16 20:53:09.000000000 +0000
++++ b/ldc2_phobos.conf.in 2019-10-26 06:51:09.000000000 +0000
+@@ -18,6 +18,7 @@ default:
+ {
+ // default switches injected before all explicit command-line switches
+ switches = [
++ "-linker=bfd",
+ "-defaultlib=phobos2-ldc,druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
+ ];
+ // default switches appended after all explicit command-line switches