diff options
author | Ilaï Deutel | 2020-05-18 20:18:58 -0700 |
---|---|---|
committer | Ilaï Deutel | 2020-05-18 20:18:58 -0700 |
commit | 1a9a35a85dd19b89c138a386d33887bcc04e0f2a (patch) | |
tree | 6c52c62af5f13b8d13b61fd8c9eec6d6ff8aaddf | |
parent | 7dfd1521ead239cb39f71bbf2820ebee069e5573 (diff) | |
download | aur-1a9a35a85dd19b89c138a386d33887bcc04e0f2a.tar.gz |
Enable PIE compilation for SCC
upgpkg: scc 2.12.0-2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = scc pkgdesc = Sloc, Cloc and Code: a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go pkgver = 2.12.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/boyter/scc arch = x86_64 arch = i386 @@ -2,7 +2,7 @@ pkgname=scc pkgver=2.12.0 -pkgrel=1 +pkgrel=2 pkgdesc='Sloc, Cloc and Code: a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go' arch=('x86_64' 'i386') url="https://github.com/boyter/scc" @@ -27,6 +27,7 @@ build() { cd "$GOPATH/src/github.com/boyter/$pkgname" go install \ -trimpath \ + -buildmode=pie \ -ldflags "-extldflags $LDFLAGS" \ -v ./... } |