diff options
author | Sam Whited | 2019-08-27 08:53:20 -0500 |
---|---|---|
committer | Sam Whited | 2019-08-27 08:53:20 -0500 |
commit | 61dcbbf0b80978d1112cb1c4213e905060965bb9 (patch) | |
tree | db0d7711d87067a9456ebe33ad0dff0721473d7a /PKGBUILD | |
parent | 8a2dd8cc4efe7e96f6c02e5cd4d550aedb99435c (diff) | |
download | aur-61dcbbf0b80978d1112cb1c4213e905060965bb9.tar.gz |
Build PIE
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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/... } |