aports/testing/ldc/01-conf.patch
2020-02-16 13:29:22 +01:00

34 lines
1.4 KiB
Diff

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