From e70ec377bc11db9492624e4d0b82dfec12d871b8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 12 Jan 2015 09:04:38 +0100 Subject: [PATCH] syncthing: unbreak arm cross compilation. --- srcpkgs/syncthing/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/syncthing/template b/srcpkgs/syncthing/template index 6134bdb912e..68a8f13ce87 100644 --- a/srcpkgs/syncthing/template +++ b/srcpkgs/syncthing/template @@ -15,8 +15,7 @@ checksum=1ded8a4f0056cb7b7062368cb01f6750d60d3589afbab25f1ae925615d4d2e84 do_build() { case "$XBPS_TARGET_MACHINE" in - armv6*) goarch=armv6;; - armv7*) goarch=armv7;; + arm*) goarch=arm;; i686*) goarch=386;; x86_64*) goarch=amd64;; esac @@ -33,7 +32,7 @@ do_build() { do_install() { case "$XBPS_TARGET_MACHINE" in - armv6*|armv7*) vbin bin/linux_arm/syncthing;; + arm*) vbin bin/linux_arm/syncthing;; x86_64*|i686*) vbin bin/syncthing;; esac vlicense LICENSE