aboutsummaryrefslogtreecommitdiffstats
path: root/community/browserpass/APKBUILD
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-03-03 06:43:34 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-03-03 06:43:34 +0000
commite0f0a00ea2157a3e95611b8f42031490e42258f6 (patch)
tree2c17ad1cdae48f4d40676bcfcdefe2b1a4b3d93c /community/browserpass/APKBUILD
parent4b871b08841759fc72b2df7f5f63b62c04eea986 (diff)
downloadaports-e0f0a00ea2157a3e95611b8f42031490e42258f6.tar.gz
aports-e0f0a00ea2157a3e95611b8f42031490e42258f6.tar.bz2
aports-e0f0a00ea2157a3e95611b8f42031490e42258f6.tar.xz
community/browserpass: set GOFLAGS for check() as well
Diffstat (limited to 'community/browserpass/APKBUILD')
-rw-r--r--community/browserpass/APKBUILD9
1 files changed, 1 insertions, 8 deletions
diff --git a/community/browserpass/APKBUILD b/community/browserpass/APKBUILD
index 6020cba407..5a62051be1 100644
--- a/community/browserpass/APKBUILD
+++ b/community/browserpass/APKBUILD
@@ -11,13 +11,6 @@ makedepends="go git"
source="$pkgname-$pkgver.tar.gz::https://github.com/browserpass/browserpass-native/archive/$pkgver.tar.gz"
builddir="$srcdir/github.com/browserpass/browserpass-native"
-: "${GOFLAGS:=}"
-case $CARCH in
- mips64)
- export GOFLAGS="${GOFLAGS/-buildmode=pie/-buildmode=exe}" # Docker does not supprt buildmode=pie on mips64
- ;;
-esac
-
prepare() {
mkdir -p "${builddir%/*}"
mv "$srcdir/browserpass-native-$pkgver" "$builddir"
@@ -29,7 +22,7 @@ build() {
}
check() {
- make test
+ make test GOFLAGS="$GOFLAGS"
}
package() {