[arch-commits] Commit in dmd/trunk (PKGBUILD)

Dan Printzell wild at archlinux.org
Sun Sep 15 23:00:55 UTC 2019


    Date: Sunday, September 15, 2019 @ 23:00:54
  Author: wild
Revision: 510809

upgpkg: dmd 1:2.088.0-1

Updated to 2.088.0

Modified:
  dmd/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-15 23:00:13 UTC (rev 510808)
+++ PKGBUILD	2019-09-15 23:00:54 UTC (rev 510809)
@@ -11,7 +11,7 @@
 pkgdesc='D programming language compiler and standard library'
 groups=('dlang' 'dlang-dmd')
 pkgbase=dmd
-pkgver=2.087.1
+pkgver=2.088.0
 pkgrel=1
 epoch=1
 arch=('x86_64')
@@ -27,7 +27,7 @@
 sha256sums=('SKIP'
             'SKIP'
             'SKIP'
-            'c3c6cc865f5aa66dce4244467797b596ed0ada2bde93031350dc36713733cfc1'
+            'e84460aed12c4181075316957675158e7fe66c30612df3534a3151e87c823051'
             'SKIP'
             '3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
             '4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
@@ -44,7 +44,9 @@
     # Add $LDFLAGS and $CXXFLAGS to the compilation
     # '-link-defaultlib-shared=false' statically links dmd to liblphobos
     sed -i "/^CXXFLAGS :=/ a $CXXFLAGS \\\\" "$srcdir"/dmd/src/posix.mak
-    sed -i "/^DFLAGS=/ a override DFLAGS += -link-defaultlib-shared=false -L=\"$LDFLAGS\"" "$srcdir"/dmd/src/posix.mak
+    sed -i "/^DFLAGS=/ a override DFLAGS += -link-defaultlib-shared=false -L=\"$LDFLAGS\" -flto=full" "$srcdir"/dmd/src/posix.mak
+    # Fix new incomplete build.d file
+    sed -i "/\~= dflags/a flags[\"DFLAGS\"] ~= [\"-link-defaultlib-shared=false\", \"-L=\\\\\"$LDFLAGS\\\\\"\"];" "$srcdir"/dmd/src/build.d
 }
 
 build() {


More information about the arch-commits mailing list