diff options
Diffstat (limited to 'system/fd/fd.SlackBuild')
-rw-r--r-- | system/fd/fd.SlackBuild | 6 |
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) |