system/fd: Fix building on -current.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Andrew Clemons 2018-02-18 14:28:56 +13:00 committed by Willy Sudiarto Raharjo
parent 0e374c65ec
commit d89240ad22

View file

@ -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)