summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited2019-08-27 08:53:20 -0500
committerSam Whited2019-08-27 08:53:20 -0500
commit61dcbbf0b80978d1112cb1c4213e905060965bb9 (patch)
treedb0d7711d87067a9456ebe33ad0dff0721473d7a
parent8a2dd8cc4efe7e96f6c02e5cd4d550aedb99435c (diff)
downloadaur-61dcbbf0b80978d1112cb1c4213e905060965bb9.tar.gz
Build PIE
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9e0d7ecdbb..6eb6f388340 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = go-tools-git
pkgdesc = Developer tools for the Go programming language
- pkgver = v0.0.0_20190702152245_7e72c71c505f
- pkgrel = 2
+ pkgver = v0.0.0_20190826234050_71894ab67ee3
+ pkgrel = 1
url = https://godoc.org/golang.org/x/tools/
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 9d121d2f3e6..ade7945a016 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Egor Kovetskiy <e.kovetskiy@office.ngs.ru>
pkgname=go-tools-git
-pkgver=v0.0.0_20190702152245_7e72c71c505f
-pkgrel=2
+pkgver=v0.0.0_20190826234050_71894ab67ee3
+pkgrel=1
pkgdesc='Developer tools for the Go programming language'
arch=(x86_64)
url='https://godoc.org/golang.org/x/tools/'
@@ -44,6 +44,7 @@ build() {
-gcflags "all=-trimpath=${PWD}" \
-asmflags "all=-trimpath=${PWD}" \
-ldflags "-extldflags ${LDFLAGS}" \
+ -buildmode=pie \
./cmd/...
}