Commit d77d3266 authored by Michał Polański's avatar Michał Polański Committed by Leo
Browse files

testing/amfora: enable on mips64

parent 70ba2611
......@@ -4,14 +4,19 @@ pkgname=amfora
pkgver=1.8.0 # Don't forget to update main.commit below
pkgrel=0
pkgdesc="terminal browser for the Gemini protocol"
arch="all !mips64" # no go lang on mips64
url="https://github.com/makeworld-the-better-one/amfora"
license="GPL-3.0-or-later"
arch="all"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/makeworld-the-better-one/amfora/archive/v$pkgver.tar.gz"
export GOPATH="$srcdir"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw -buildmode=pie"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
case $CARCH in
mips|mips64)
export GOFLAGS="${GOFLAGS/-buildmode=pie}" # buildmode=pie is not supported on mips64
;;
esac
build() {
go build \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment