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

Morten Linderud foxboron at archlinux.org
Wed Aug 14 20:10:14 UTC 2019


    Date: Wednesday, August 14, 2019 @ 20:10:13
  Author: foxboron
Revision: 499226

upgpkg: go-tools 2:1.12+2917+aa8296574-2

Modified:
  go-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-14 20:03:30 UTC (rev 499225)
+++ PKGBUILD	2019-08-14 20:10:13 UTC (rev 499226)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.12+2917+aa8296574
-pkgrel=1
+pkgrel=2
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -39,7 +39,7 @@
 build() {
   export GOPATH="$srcdir/gopath"
   cd gopath/src/golang.org/x/tools
-  go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/...
+  go install -v -a -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/...
 }
 
 check() {



More information about the arch-commits mailing list