diff options
author | Peter Roberts | 2019-02-26 12:20:57 +0000 |
---|---|---|
committer | Peter Roberts | 2019-02-26 12:20:57 +0000 |
commit | aa05fa6003bfadd0e3c6bd67b187f06e98aff3f9 (patch) | |
tree | 5a8ad0d6180ccf0a79d944ea83b2897104714d69 | |
parent | 5638e549c8627dea26aefe77a7b40a057f8f60f2 (diff) | |
download | aur-aa05fa6003bfadd0e3c6bd67b187f06e98aff3f9.tar.gz |
Fix an errant hyphen in ldflags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = zoom-parallel pkgdesc = Parallel command executor with a focus on simplicity and good cross-platform behaviour pkgver = 0.1.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pwr22/zoom arch = x86_64 license = MIT @@ -1,7 +1,7 @@ # Maintainer: Peter Roberts <me@peter-r.co.uk> pkgname=zoom-parallel pkgver=0.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Parallel command executor with a focus on simplicity and good cross-platform behaviour " arch=("x86_64") url="https://github.com/pwr22/zoom" @@ -20,7 +20,7 @@ prepare(){ ln -rTsf "$_cmdname-$pkgver" "go/src/github.com/pwr22/$_cmdname" export GOPATH="$srcdir/go" - export GOFLAGS="-gcflags=all=-trimpath=$PWD -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=-zrelro -ldflags=-extldflags=-$LDFLAGS" + export GOFLAGS="-gcflags=all=-trimpath=$PWD -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=$LDFLAGS" cd "go/src/github.com/pwr22/$_cmdname" # going through the symlink is necessary to make go get happy go get ./... @@ -30,7 +30,7 @@ build() { cd "$_cmdname-$pkgver" export GOPATH="$srcdir/go" - export GOFLAGS="-gcflags=all=-trimpath=$PWD -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=-zrelro -ldflags=-extldflags=-$LDFLAGS" + export GOFLAGS="-gcflags=all=-trimpath=$PWD -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=$LDFLAGS" go build -o "$_cmdname" } |