Skip to content
Snippets Groups Projects
Commit 4e939c03 authored by Rasmus Thomsen's avatar Rasmus Thomsen
Browse files

community/ldc: link libphobos dynamically by default

parent 2875d253
1 merge request!5663community/ldc: link libphobos dynamically by default
......@@ -5,7 +5,7 @@ diff -urp a/ldc2.conf.in b/ldc2.conf.in
{
// default switches injected before all explicit command-line switches
switches = [
+ "-linker=bfd",
+ "-linker=bfd","-link-defaultlib-shared",
"-defaultlib=druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
];
// default switches appended after all explicit command-line switches
......@@ -16,7 +16,7 @@ diff -urp a/ldc2_install.conf.in b/ldc2_install.conf.in
{
// default switches injected before all explicit command-line switches
switches = [
+ "-linker=bfd",
+ "-linker=bfd","-link-defaultlib-shared",
"-defaultlib=phobos2-ldc,druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
];
// default switches appended after all explicit command-line switches
......@@ -27,7 +27,7 @@ diff -urp a/ldc2_phobos.conf.in b/ldc2_phobos.conf.in
{
// default switches injected before all explicit command-line switches
switches = [
+ "-linker=bfd",
+ "-linker=bfd","-link-defaultlib-shared",
"-defaultlib=phobos2-ldc,druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
];
// default switches appended after all explicit command-line switches
......@@ -2,7 +2,7 @@
# Maintainer: Mathias LANG <pro.mathias.lang@gmail.com>
pkgname=ldc
pkgver=1.20.1
pkgrel=1
pkgrel=2
pkgdesc="The LLVM-based D Compiler"
url="https://github.com/ldc-developers/ldc"
# LDC does not support host compiling on most of the architecture Alpine supports
......@@ -96,4 +96,4 @@ static() {
}
sha512sums="bb699999a69de1773a10998c653b5a1b0bce30e39cfcee0e19b036378b28519b3118ac369b341cfd305a8a9bd904564ffffe83f720a62ab4f2c1942c2e26bb53 ldc-1.20.1-src.tar.gz
eb86e4be0ecf72aaabbd5608c8056bb9cede035895e766330b6d14f14c06dc513fcecc1b6e56ab6fc9fc26c220a689cc8b1394a30a319189c414f1e067c1d983 01-conf.patch"
1a8ec8d75a5d01a1bc41e4b641e0663344fcbc44f3f10287f8cc716095faeadfa3dfc4ce7d84d72522151454e54d95e9f623ec5862e98e837d8fe44057307ce9 01-conf.patch"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment