aboutsummaryrefslogtreecommitdiffstats
path: root/community/ldc/01-conf.patch
blob: 14a5ca5fd0078da93e1c220d6f1ee4de468c0e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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","-link-defaultlib-shared",
         "-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","-link-defaultlib-shared",
         "-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","-link-defaultlib-shared",
         "-defaultlib=phobos2-ldc,druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
     ];
     // default switches appended after all explicit command-line switches