summaryrefslogtreecommitdiff
path: root/system/fd
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-02-18 14:28:56 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-03 08:42:10 +0700
commitd89240ad225094a1d483ec1c7225bae938368aa8 (patch)
tree05560cf90580ca62cdeeae091d553c236474108d /system/fd
parent0e374c65ec3de9bd5ac9a652664724a284214105 (diff)
downloadslackbuilds-d89240ad225094a1d483ec1c7225bae938368aa8.tar.gz
system/fd: Fix building on -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/fd')
-rw-r--r--system/fd/fd.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/fd/fd.SlackBuild b/system/fd/fd.SlackBuild
index 97c3d803d1..e373a0be23 100644
--- a/system/fd/fd.SlackBuild
+++ b/system/fd/fd.SlackBuild
@@ -33,6 +33,12 @@ if [ -z "$ARCH" ]; then
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
fi
CWD=$(pwd)