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

Christian Rebischke shibumi at archlinux.org
Sun Dec 20 22:07:18 UTC 2020


    Date: Sunday, December 20, 2020 @ 22:07:18
  Author: shibumi
Revision: 780798

upgpkg: shfmt 3.2.1-1 enable FULL-RELRO

Modified:
  shfmt/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-20 22:07:16 UTC (rev 780797)
+++ PKGBUILD	2020-12-20 22:07:18 UTC (rev 780798)
@@ -2,7 +2,7 @@
 # Contributor: Daniel Martí <mvdan at mvdan.cc>
 
 pkgname=shfmt
-pkgver=3.2.0
+pkgver=3.2.1
 pkgrel=1
 pkgdesc="Format shell programs"
 url="https://github.com/mvdan/sh"
@@ -10,7 +10,7 @@
 arch=('x86_64')
 makedepends=('git' 'go-pie')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/sh/archive/v${pkgver}.tar.gz")
-sha512sums=('2f019fea811a1a8e995b8fb2ae77ea4f52c0ff82f3b049f22730b5aba8f7a580cf046cb93bc779999805edbc6b9b7c1ab81cdc800bc3068be5631dd947849770')
+sha512sums=('dcc8d256a3220d4216291c929bc462a910ffb43f28f9e89777138d1df5c40f8d6ba017341f73b955950c4ba3f39da5902459985ad02cdb938b9a9f44ad1c3147')
 
 build() {
   export CGO_CPPFLAGS="${CPPFLAGS}"
@@ -17,7 +17,7 @@
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"
   export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
   cd "${srcdir}/sh-${pkgver}/cmd/shfmt/"
   go build .
 }



More information about the arch-commits mailing list