diff options
author | Jean-Francois Chevrette | 2019-09-06 16:04:14 -0400 |
---|---|---|
committer | Jean-Francois Chevrette | 2019-09-06 16:04:14 -0400 |
commit | 378b8df2dafcee8e4dd8163338613e302510e750 (patch) | |
tree | 6a98ae4446cbe2f3d1862c74a0e2c3141e70c895 | |
parent | 8e45ec82c3816a5b9a2f343d47c91b0ad5ca5c4d (diff) | |
download | aur-378b8df2dafcee8e4dd8163338613e302510e750.tar.gz |
strip pwd from go binary
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = kapp-git pkgdesc = kapp is a simple deployment tool focused on the concept of "Kubernetes application" pkgver = r193.b0d6b82 - pkgrel = 1 + pkgrel = 2 url = https://get-kapp.io/ arch = x86_64 license = Apache @@ -3,7 +3,7 @@ _pkgname=kapp pkgname=${_pkgname}-git pkgver=r193.b0d6b82 -pkgrel=1 +pkgrel=2 pkgdesc='kapp is a simple deployment tool focused on the concept of "Kubernetes application"' url="https://get-kapp.io/" license=('Apache') @@ -28,6 +28,7 @@ build() { cd "${srcdir}/src/github.com/k14s/${_pkgname}" export GOPATH="${srcdir}" + export GOFLAGS="-gcflags=all=-trimpath=${PWD} -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=-zrelro -ldflags=-extldflags=-znow" mkdir -p tmp build_values_path="../../../${BUILD_VALUES:-./hack/build-values-default.yml}" |