syncthing: unbreak arm cross compilation.
This commit is contained in:
parent
7ddcd0f133
commit
e70ec377bc
|
@ -15,8 +15,7 @@ checksum=1ded8a4f0056cb7b7062368cb01f6750d60d3589afbab25f1ae925615d4d2e84
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv6*) goarch=armv6;;
|
arm*) goarch=arm;;
|
||||||
armv7*) goarch=armv7;;
|
|
||||||
i686*) goarch=386;;
|
i686*) goarch=386;;
|
||||||
x86_64*) goarch=amd64;;
|
x86_64*) goarch=amd64;;
|
||||||
esac
|
esac
|
||||||
|
@ -33,7 +32,7 @@ do_build() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv6*|armv7*) vbin bin/linux_arm/syncthing;;
|
arm*) vbin bin/linux_arm/syncthing;;
|
||||||
x86_64*|i686*) vbin bin/syncthing;;
|
x86_64*|i686*) vbin bin/syncthing;;
|
||||||
esac
|
esac
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in New Issue