mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 01:05:15 +03:00
This replaces the bootstrapping (and outdated) LDC 1.8.0 package with a build from source.
33 lines
1.4 KiB
Diff
33 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
|