Commit 0ca26160 authored by Leo's avatar Leo
Browse files

community/go-bindata-assetfs: fix build on mips/mips64

parent 5225c0e6
......@@ -14,7 +14,12 @@ options="!check" # no test suite
build() {
export GOFLAGS="$GOFLAGS -buildmode=pie -trimpath -mod=readonly -modcacherw"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
case $CARCH in
export GOFLAGS="${GOFLAGS/-buildmode=pie}" # Not supported on mips(64)
export GOPATH="$srcdir"
go build -ldflags="-s -w" -v -o bin/"$pkgname" ./"$pkgname"/main.go
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