summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Muehlhaeuser2019-05-31 23:04:38 +0200
committerChristian Muehlhaeuser2019-05-31 23:04:38 +0200
commit7f44e22d9e07558270fa06b94e913ab8b8b1c228 (patch)
tree9cfc1043468a0f42467535e10bbdd6e10d0f642b /PKGBUILD
parentfafee74e4ca494eac5c7c2651f7950c83722045a (diff)
downloadaur-7f44e22d9e07558270fa06b94e913ab8b8b1c228.tar.gz
Export gcflags & asmflags as suggested on ArchWiki
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 566b5f51c13d..f3aae68d81ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=beehive
pkgver=0.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="A flexible event and agent system with lots of bees"
arch=('x86_64' 'i686')
url="https://github.com/muesli/beehive"
@@ -24,6 +24,8 @@ build() {
mkdir -p "$GOPATH"/bin
cd "$srcdir"/$pkgname-$pkgver
+
+ export GOFLAGS="-gcflags=all=-trimpath=${PWD} -asmflags=all=-trimpath=${PWD}"
make
}