summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d345f2ceeb27..90993dc827b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}"