aboutsummaryrefslogtreecommitdiffstats
path: root/community/browserpass/APKBUILD
diff options
context:
space:
mode:
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() {