diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-07-07 10:25:14 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-07-07 10:25:23 +0200 |
commit | 523822936444d2a32e54382f127522cc981481d1 (patch) | |
tree | d7881767be2a9fed1605b7f19e005448ad0aa56a | |
parent | 700d7d7f9fa431794d2c13b7804eacb4c386322b (diff) | |
download | aports-523822936444d2a32e54382f127522cc981481d1.tar.bz2 aports-523822936444d2a32e54382f127522cc981481d1.tar.xz |
testing/gogs: build with pie and enable sqlite
-rw-r--r-- | testing/gogs/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/gogs/APKBUILD b/testing/gogs/APKBUILD index 6a8ef71b0e..f2869df90c 100644 --- a/testing/gogs/APKBUILD +++ b/testing/gogs/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: 7heo <7heo@mail.com> pkgname=gogs pkgver=0.9.13 -pkgrel=0 +pkgrel=1 pkgdesc="A self-hosted Git service written in Go" url="http://gogs.io/" arch="all" @@ -32,7 +32,7 @@ snapshot() { https://$_gourl $builddir || return 1 cd $builddir # fetch deps - go get -v -d -tags "redis memcache" || return 1 + go get -v -d -tags "sqlite redis memcache" || return 1 cd "$srcdir" tar zcf $pkgname-$pkgver.tar.gz src || return 1 rsync --progress -La $pkgname-$pkgver.tar.gz \ @@ -44,7 +44,7 @@ build() { cd "$builddir"/$pkgname || return 1 export GOPATH="$srcdir" go fix || return 1 - go build -v -tags "redis memcache cert" || return 1 + go build -buildmode=pie -v -tags "sqlite redis memcache cert" || return 1 } package() { |