From 4e939c039d4fdaf900a9546c1920d2911ae129d9 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen <oss@cogitri.dev> Date: Sat, 21 Mar 2020 19:43:21 +0100 Subject: [PATCH] community/ldc: link libphobos dynamically by default --- community/ldc/01-conf.patch | 6 +++--- community/ldc/APKBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/community/ldc/01-conf.patch b/community/ldc/01-conf.patch index ad01f92d5805..14a5ca5fd007 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 090e4f8b3a21..ec9cc92d09c8 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" -- GitLab