aboutsummaryrefslogtreecommitdiffstats
path: root/community/ldc
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-21 19:43:21 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-23 08:17:02 +0000
commit4e939c039d4fdaf900a9546c1920d2911ae129d9 (patch)
treec7dc2f53f479080f858f15a38a0289fe1ad4f90c /community/ldc
parent2875d2537b277fe7a9b32b2b1cac96291808a8c1 (diff)
downloadaports-4e939c039d4fdaf900a9546c1920d2911ae129d9.tar.bz2
aports-4e939c039d4fdaf900a9546c1920d2911ae129d9.tar.xz
community/ldc: link libphobos dynamically by default
Diffstat (limited to 'community/ldc')
-rw-r--r--community/ldc/01-conf.patch6
-rw-r--r--community/ldc/APKBUILD4
2 files changed, 5 insertions, 5 deletions
diff --git a/community/ldc/01-conf.patch b/community/ldc/01-conf.patch
index ad01f92d58..14a5ca5fd0 100644
--- a/community/ldc/01-conf.patch
+++ b/community/ldc/01-conf.patch
@@ -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
diff --git a/community/ldc/APKBUILD b/community/ldc/APKBUILD
index 090e4f8b3a..ec9cc92d09 100644
--- a/community/ldc/APKBUILD
+++ b/community/ldc/APKBUILD
@@ -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"