Skip to content
Snippets Groups Projects
Commit fb8d42be authored by Natanael Copa's avatar Natanael Copa
Browse files

main/syncthing: fix build on armhf

parent b8202674
No related branches found
No related tags found
No related merge requests found
...@@ -36,13 +36,9 @@ prepare() { ...@@ -36,13 +36,9 @@ prepare() {
} }
build() { build() {
local _arch=""
cd "$_builddir"/$pkgname cd "$_builddir"/$pkgname
export GOPATH="$srcdir" export GOPATH="$srcdir"
case "$CTARGET" in go run build.go -no-upgrade -version=v$pkgver
arm*) _arch="-goarch armv6";;
esac
go run build.go -no-upgrade -version=v$pkgver $_arch
} }
package() { package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment